code: static boolean isSymbolChar(int ch) {
          int t = Character.getType(ch);
          return t == Character.MATH_SYMBOL || t == Character.CURRENCY_SYMBOL || t == Character.MODIFIER_SYMBOL || t == Character.OTHER_SYMBOL;
      }
docs: Returns whether the given character is a Unicode symbol