code: def folds(
      self,
  ) -> _typing.Optional[
      _typing.Sequence[
          _typing.Tuple[_typing.Sequence[int], _typing.Sequence[int]]
      ]
  ]:
      if self._folds is not None and len(self._folds) == 0:
          self._folds = None
      return self._folds
  
imports: import typing
label_desc: Use image node_id 2 for calling the _FoldsContainer obj's underlying member method code with example usage: obj.folds() and returns: self