# containsProperty abstract method

bool containsProperty(

1. String propertyName

)

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

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

Example:

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

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

## Implementation

    bool containsProperty(String propertyName);