getAttribute(AttributeKey::IS_IN_LOOP) === \true; } /** * @api */ public function isInIf(Node $node) : bool { return $node->getAttribute(AttributeKey::IS_IN_IF) === \true; } }