presto-main/src/main/java/io/prestosql/sql/gen/InCodeGenerator.java/InCodeGenerator/isInteger
class InCodeGenerator:    public static boolean isInteger(long value)
    {
        return value == (int) value;
    }