code: @Override
      public boolean isValid(T value) {
          if (value instanceof Collection<?>) {
              return ((Collection<?>) value).size() > 0;
          }
          return value != null && !"".equals(value.toString());
      }
docs: {@inheritDoc}