private static boolean isEntityReindexingCustomised(Class<? extends WorkspaceEntity> entityClass) {
    return LibraryEntity.class.isAssignableFrom(entityClass) ||
           LibraryPropertiesEntity.class.isAssignableFrom(entityClass);
  }
private static boolean isEntityReindexingCustomised(Class<? extends WorkspaceEntity> entityClass)