presto-main/src/main/java/io/prestosql/type/IntervalYearMonthType.java/IntervalYearMonthType/equals
class IntervalYearMonthType:    @Override
    @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")
    public boolean equals(Object other)
    {
        return other == INTERVAL_YEAR_MONTH;
    }