is_cache#

gwpy.io.cache.is_cache(
cache: Readable | Cache | Sequence[CacheEntry | FileSystemPath],
) bool[source]#

Return True if cache is a readable cache file or object.

Parameters:
cachestr, file, list

Object to detect as cache

Returns:
iscachebool

True if the input object is a cache, or a file in LAL cache format, otherwise False