docs: def _set_exclude(self, exclude):
          """Exclude setter."""
          if exclude and (
              (not isinstance(exclude, list))
              or (
                  isinstance(exclude, list)
                  and any([not isinstance(item, str) for item in exclude])
              )
          ):
              raise RuntimeError("Argument `exclude` is not valid")
          self._exclude = exclude