presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionAnalysis.java/ExpressionAnalysis/isTypeOnlyCoercion
class ExpressionAnalysis:    public boolean isTypeOnlyCoercion(Expression expression)
    {
        return typeOnlyCoercions.contains(NodeRef.of(expression));
    }