code: def get_tabs(self, model_alias, object):
          
          model_alias = self.get_model_alias(model_alias)
          for item in self.tabs[model_alias]:
              if item.display_filter(object):
                  yield item
docs: Get all active tabs for given model
  
          :param model_alias:
          :param object: Object used to filter tabs
          :return: