public static boolean isComparable(Operator operator) {
    if (!(operator instanceof ComparableOperators)) {
      return false;
    }
    return Arrays.asList(values()).contains(operator);
  }
List of operators for {@link Comparable}
criteria/common/src/org/immutables/criteria/expression/ComparableOperators.java