src/Colorium/Http/Request/Accept.php
protected static function compare($needle, array $haystack)
    {
        foreach($haystack as $row) {
            if(fnmatch($row, $needle)) {
                return true;
            }
        }
        return false;
    }
protected static function compare($needle, array $haystack)
    {
        foreach($haystack as $row) {
            if(fnmatch($row, $needle)) {
                return true;
            }
        }
        return false;
    }
Compare for negociation

@param string $needle
@param array $haystack
@return bool