code: def _active_case(self, value: ObjectValue) -> Optional["CaseNode"]:
          
          for c in self.children:
              for cc in c.data_children():
                  if cc.iname() in value:
                      return c
docs: Return receiver's case that's active in an instance node value.