public static function has(string $key, string $storage = 'global'): bool
    {
        $fileKey = self::key($key);
        return file_exists(self::$path . '/' . $storage . '/' . $fileKey);
    }
public static function has(string $key, string $storage = 'global'): bool
    {
        $fileKey = self::key($key);
        return file_exists(self::$path . '/' . $storage . '/' . $fileKey);
    }
public static function has ( string $ key , string $ storage = 'global' ) : bool { $ fileKey = self :: key ( $ key ) ; return file_exists ( self :: $ path . '/' . $ storage . '/' . $ fileKey ) ; }
Has key.

@param string $key
@param string $storage Default 'global'.
@return bool
Has key .