private boolean isUnaryFunction(char tok){
  if (UNARY_FUNCTIONS.indexOf(tok) == -1) {
    return false;
  }
  return true;
}

private boolean isUnaryFunction ( char tok ) { if ( UNARY_FUNCTIONS . indexOf ( tok ) == - 1 ) { return false ; } return true ; }
returns true if a token is a unary function
