bool appliesTo(SceneNode node) => switch (kindName) { var k? => node is KindNode && node.kind.name == k, null => owner.has(node), };