code: protected boolean isDeleted(Class<?> type, long key) {
          return removed.size() > 0 && removed.containsKey(type) && removed.get(type).size() > 0 && removed.get(type).contains(key);
      }
docs: /*
  size checking mainly for performance issues on cases where there is no need to check map