def METHOD_NAME() -> bool:
    # Check if the file is new enough (see: FILE_CACHE_LIFESPAN_SECONDS). A real check
    # could make a HEAD request and check/store the file's ETag
    fname = pathlib.Path(path)
    now = datetime.datetime.now()
    mtime = datetime.datetime.fromtimestamp(fname.stat().st_mtime)
    diff = now - mtime
    return diff.total_seconds() < FILE_CACHE_LIFESPAN_SECONDS