code: def _wrap(self, ret):
          
          if self.chained:
              self._wrapped = ret
              return self
          else:
              return ret
docs: Returns result but ig chain method is used
          returns the object itself so we can chain