parameters: (cache_time)
return_statement: return delta_time == 0 or (time.time() - cache_time) >= (delta_time * 60)
docstring: Check if the cache entry is expired.
docstring_summary: Check if the cache entry is expired.
docstring_tokens: Check if the cache entry is expired .
function: def _is_cache_expired(cache_time):
      """Check if the cache entry is expired."""
  
      delta_time = _get_setting('mdpopups.cache_refresh_time', 30)
      if not isinstance(delta_time, int) or delta_time < 0:
          delta_time = 30
      return delta_time == 0 or (time.time() - cache_time) >= (delta_time * 60)
function_tokens: def _is_cache_expired ( cache_time ) : delta_time = _get_setting ( 'mdpopups.cache_refresh_time' , 30 ) if not isinstance ( delta_time , int ) or delta_time < 0 : delta_time = 30 return delta_time == 0 or ( time . time ( ) - cache_time ) >= ( delta_time * 60 )