Function to check if context freshness is up to date