@Override
    public boolean rm(final String pattern) {
        final List<String> rdds = new ArrayList<>();

        forEachMatching( pattern, rdd -> rdds.add(rdd.name()));

        rdds.forEach(Spark::removeRDD);
        return rdds.size() > 0;
    }
@param pattern
@return true if the pattern is actually a path as of the path definition in {@linkplain Storage}

NOTE: a more precise syntax check is possible
spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/SparkContextStorage.java