# contains method

bool contains(

1. Object? value

)
override

Returns `true` if a property with the given `value` exists.

`value`: The value of the property to check Returns true if the property exists, false otherwise

Example:

    final props = MutablePropertyValues()
      ..addPropertyValueByName('enabled', true);

    print(props.contains('enabled')); // true
    print(props.contains('missing')); // false

## Implementation

    bool contains(Object? value) {
      if(value is! String) {
        return false;
      }
      return getPropertyValue(value.toString()) != null;
    }