code: def add(self, title, obj, **kwargs):
          
          is_class = inspect.isclass(obj)
          self._push(title=title,
                     view=obj,
                     class_name=obj.im_class.__name__ if not is_class else obj.__name__,
                     is_class=is_class,
                     **kwargs)
docs: Add a title
          :param title: str: The title of the menu
          :param obj: class or method
          :param kwargs:
          :return: