code: public static <D> Predicate in(Expression<D> left, Collection<? extends D> right) {
          if (right.size() == 1) {
              return eqConst(left, right.iterator().next());
          } else {
              return predicate(Ops.IN, left, ConstantImpl.create(right));
          }
      }
docs: Create a {@code left in right} expression
  
  @param <D> element type
  @param left lhs of expression
  @param right rhs of expression
  @return left in right