code: private boolean isBatchable(DynamicType<EntityTypeMetadata<NodeMetadata<RemoteLabel>>> dynamicType) {
          for (EntityTypeMetadata<NodeMetadata<RemoteLabel>> type : dynamicType.getMetadata()) {
              if (type.getDatastoreMetadata().isBatchable()) {
                  return true;
              }
          }
          return false;
      }
docs: Determine if at least one type is marked as
  {@link com.buschmais.xo.neo4j.api.annotation.Batchable}.
  
  @param dynamicType
  The types.
  @return <code>true</code> if batching may be used.