code: public boolean checkProperty(T prop, Object value) {
          Object attribute = getProperty(prop);
          return (attribute != null && attribute.equals(value));
      }
docs: Check whether or not the given WarningProperty has the given attribute
  value.
  
  @param prop
  the WarningProperty
  @param value
  the attribute value
  @return true if the set contains the WarningProperty and has an attribute
  equal to the one given, false otherwise