presto-main/src/main/java/io/prestosql/util/SpatialJoinUtils.java/SpatialJoinUtils/extractSupportedSpatialFunctions
class SpatialJoinUtils:    public static List<FunctionCall> extractSupportedSpatialFunctions(Expression filterExpression)
    {
        return extractConjuncts(filterExpression).stream()
                .filter(FunctionCall.class::isInstance)
                .map(FunctionCall.class::cast)
                .filter(SpatialJoinUtils::isSupportedSpatialFunction)
                .collect(toImmutableList());
    }