Function: isPriceStale(uint256 timestamp, uint256 stalenessThreshold)
This function checks if a price is stale based on time stamp.
Inputs
timestampControl: Fully controlled by the caller.
Constraints: None.
Impact: A time stamp to check if the price is stale.
stalenessThresholdControl: Fully controlled by the caller.
Constraints: None.
Impact: A staleness threshold to check if the price is stale.
Branches and code coverage
Intended branches
Check if the price is stale.