code: private boolean isSparkOrigin(String objectName) {
      LOG.trace("Check if created by Stocator: {}", objectName);
      if (cachedSparkOriginated.containsKey(objectName)) {
        return cachedSparkOriginated.get(objectName).booleanValue();
      }
      String obj = objectName;
      Boolean sparkOriginated = Boolean.FALSE;
      final StoredObject so = mJossAccount.getAccount().getContainer(container).getObject(obj);
      if (so != null && so.exists()) {
        final Object sparkOrigin = so.getMetadata("Data-Origin");
        if (sparkOrigin != null) {
          String tmp = (String) sparkOrigin;
          if (tmp.equals("stocator")) {
            sparkOriginated = Boolean.TRUE;
            LOG.trace("Object {} was created by Stocator", objectName);
          }
        }
      }
      cachedSparkOriginated.put(objectName, sparkOriginated);
      return sparkOriginated.booleanValue();
    }
docs: Checks if container/object exists and verifies
  that it contains Data-Origin=stocator metadata
  If so, object was created by Spark.
  
  @param objectName
  @return boolean if object was created by Spark