docs: public static Condition equalsCondition(final StateObj state) {
          return new Condition() {
              @Override
              public boolean test(final StateObj input) {
                  return input.hasState(state);
              }
  
              @Override
              public String toString() {
                  return "(State equals: " + state + ")";
              }
          };
      }