presto-main/src/main/java/io/prestosql/type/TypeCoercion.java/TypeCoercion/canCoerce
class TypeCoercion:    public boolean canCoerce(Type fromType, Type toType)
    {
        TypeCompatibility typeCompatibility = compatibility(fromType, toType);
        return typeCompatibility.isCoercible();
    }