code: def _is_flag_group(obj):
      
      return (
          isinstance(obj, h5py.Group) and
          isinstance(obj.get("active"), h5py.Dataset) and
          isinstance(obj.get("known"), h5py.Dataset)
      )
docs: Returns `True` if `obj` is an `h5py.Group` that looks like
      if contains a flag