code: public static synchronized boolean existsStorage(final File pStoragePath) {
          // if file is existing and folder is a tt-dataplace, delete it
          if (pStoragePath.exists()
              && IOUtils.compareStructure(pStoragePath, StorageConfiguration.Paths.values()) == 0) {
              return true;
          } else {
              return false;
          }
  
      }
docs: Check if Storage exists or not at a given path.
  
  @param pStoragePath
  to be checked.
  @return true if existing, false otherwise.