code: def _add_observer(self, signal, observer):
          
  
          if observer not in self._observers[signal]:
              self._observers[signal].append(observer)
docs: Associate an observer to a valid signal.
  
          Parameters
          ----------
          signal : str
              a valid signal.
          observer : @func
              an obervation function.