function symbolIsSpecial(NumberPatternSymbol $symbol, array $is) {
    return !$symbol->escaped && in_array($symbol->symbol, $is, TRUE);
  }
function symbolIsSpecial(NumberPatternSymbol $symbol, array $is) {
    return !$symbol->escaped && in_array($symbol->symbol, $is, TRUE);
  }
function symbolIsSpecial ( NumberPatternSymbol $ symbol , array $ is ) { return ! $ symbol -> escaped && in_array ( $ symbol -> symbol , $ is , TRUE ) ; }
Checks if a symbol is a special.

@param NumberPatternSymbol $symbol
@param array $is
An array of self::SYMBOL_* constants, one of which the symbol should
match.

@return boolean
Checks if a symbol is a special .