| 17 | } |
| 18 | |
| 19 | bool mitk::IPropertyOwner::PropertyIsOwned(const std::string& propertyKey, |
| 20 | const std::string& contextName /* = "" */, |
| 21 | bool fallBackOnDefaultContext /* = true */) const |
| 22 | { |
| 23 | auto keys = this->GetPropertyKeys(contextName, fallBackOnDefaultContext); |
| 24 | |
| 25 | if (std::find(keys.begin(), keys.end(), propertyKey) != keys.end()) |
| 26 | return true; |
| 27 | else |
| 28 | return false; |
| 29 | } |
no test coverage detected