presto-main/src/main/java/io/prestosql/type/InternalTypeManager.java/InternalTypeManager/isTypeOnlyCoercion
class InternalTypeManager:    @Override
    public boolean isTypeOnlyCoercion(Type source, Type result)
    {
        return typeCoercion.isTypeOnlyCoercion(source, result);
    }