public static boolean isExpressionTree(Tree tree){
  return tree instanceof ExpressionTree;
}

public static boolean isExpressionTree ( Tree tree ) { return tree instanceof ExpressionTree ; }
determine whether the given tree represents an expressiontree . todo : is there a nicer way than an instanceof ?
