public function isGlobbed($string)
    {
        $segments = $this->parser->parse($string);
        foreach ($segments as $segment) {
            // if bitmask contains pattern
            if ($segment[1] & SelectorParser::T_PATTERN) {
                return true;
            }
        }

        return false;
    }