private boolean isEqualityTerm() {
    return peekTypeMatches("NEQ") || peekTypeMatches("EQ")
            || peekTypeMatches("LESSER") || peekTypeMatches("GREATER")
            || peekTypeMatches("LESSEREQ") || peekTypeMatches("GREATEREQ");
  }