presto-main/src/main/java/io/prestosql/util/SpatialJoinUtils.java/SpatialJoinUtils/isSTDistance
class SpatialJoinUtils:    private static boolean isSTDistance(Expression expression)
    {
        if (expression instanceof FunctionCall) {
            return getFunctionName((FunctionCall) expression).equalsIgnoreCase(ST_DISTANCE);
        }

        return false;
    }