is_cache_entry#

gwpy.io.cache.is_cache_entry(path: CacheEntry | FileSystemPath) bool[source]#

Return True if path can be represented as a cache entry.

In practice this just tests whether the input is LIGO-T010150 compliant.

Parameters:
pathstr, lal.utils.CacheEntry

The input to test

Returns:
isentrybool

True if path is an instance of CacheEntry, or can be parsed using LIGO-T010150.