code: public boolean removeEntityListener(String repoFullName, EntityListener entityListener) {
      lock.writeLock().lock();
      try {
        verifyRepoRegistered(repoFullName);
        SetMultimap<Object, EntityListener> entityListeners =
            this.entityListenersByRepo.get(repoFullName);
        if (entityListeners.containsKey(entityListener.getEntityId())) {
          entityListeners.remove(entityListener.getEntityId(), entityListener);
          return true;
        }
        return false;
      } finally {
        lock.writeLock().unlock();
      }
    }
docs: Removes an entity listener for a entity of the given class
  
  @param entityListener entity listener for a entity
  @return boolean