src/psr4/Cache.php
public static function has( $key )
	{
		$cache = self::instance();
		if ( $cache ) {
			return $cache->isExisting( $key );
		}
		return false;
	}
public static function has( $key )
	{
		$cache = self::instance();
		if ( $cache ) {
			return $cache->isExisting( $key );
		}
		return false;
	}
public static function has ( $ key ) { $ cache = self :: instance ( ) ; if ( $ cache ) { return $ cache -> isExisting ( $ key ) ; } return false ; }
Returns flag if a given key has a value in cache or not.
@since 1.0
@param string $key Cache key name.
@return bool
Returns flag if a given key has a value in cache or not .