public static function isDynamic(string $glob): bool
    {
        return strpos($glob, '*') !== false || strpos($glob, '?') !== false || strpos($glob, '[') !== false;
    }
public static function isDynamic(string $glob): bool
    {
        return strpos($glob, '*') !== false || strpos($glob, '?') !== false || strpos($glob, '[') !== false;
    }
public static function isDynamic ( string $ glob ) : bool { return strpos ( $ glob , '*' ) !== false || strpos ( $ glob , '?' ) !== false || strpos ( $ glob , '[' ) !== false ; }
Returns whether the glob is dynamic.

A glob is dynamic if it contains *, ?, or [.

@param string $glob

@return bool
Returns whether the glob is dynamic .