code: public boolean isTemporaryPathTarget(Path path) {
      LOG.trace("isTemporaryPathTarget for {}", path);
      if (path.toString().equals(hostNameScheme) || path.getParent() == null) {
        LOG.trace("Temporary target on the path eauals hostname or null parent {}", path);
        return false;
      }
      String name = path.getName();
      String parent = path.getParent().toString();
      for (String tempPath : tempIdentifiers) {
        String[] tempPathComponents = tempPath.split("/");
        if (parent.endsWith(tempPathComponents[0].replace("ID", ""))
            || name.startsWith(tempPathComponents[0].replace("ID", ""))) {
          LOG.debug("Temporary path identified on {}", path);
          return true;
        }
      }
      LOG.debug("Temporary path not identified for {}", path);
      return false;
    }
docs: This method identifies if path targets temporary object, for example
  scheme://a.service/one3.txt/_temporary
  We mainly need this method for mkdirs operation
  
  @param path the input path
  @return true if path targets temporary object