code: @Override
      public TemplateFilter and(TemplateFilter otherFilter) {
          checkNotNull(otherFilter, "Other filter must be not a null");
  
          if (evaluation instanceof SingleFilterEvaluation &&
              otherFilter.evaluation instanceof SingleFilterEvaluation) {
              return
                  new TemplateFilter(
                      getDataCenter().and(otherFilter.getDataCenter()),
                      getPredicate().and(otherFilter.getPredicate())
                  );
          } else {
              evaluation = new AndEvaluation<>(evaluation, otherFilter, TemplateMetadata::getName);
  
              return this;
          }
      }
docs: {@inheritDoc}