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