code: def tags_not_in(self, other: Union[Set[int], List[int], Dict[int, Any]]) -> "Units":
          
          # example: self.units(QUEEN).tags_not_in(self.queen_tags_assigned_to_do_injects)
          if isinstance(other, list):
              other = set(other)
          return self.filter(lambda unit: unit.tag not in other)
docs: Filters all units that have their tags not in the 'other' set/list/dict