presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/ExtractSpatialJoins.java/ExtractSpatialInnerJoin/isEnabled
class ExtractSpatialInnerJoin:        @Override
        public boolean isEnabled(Session session)
        {
            return isSpatialJoinEnabled(session);
        }