public function canEvaluate($context) { return count($context) === 0 || isset($context[0]) && $context[0] instanceof NodeInterface; }