public function canApply() { $nodeType = $this->getSubject()->getNodeType(); $propertyName = $this->getPropertyName(); $nodeTypeProperties = $nodeType->getProperties(); return isset($nodeTypeProperties[$propertyName]); }