code: def _get_app_perms(self, *args):
          
          if not hasattr(self, '_app_perms_cache'):
              self._app_perms_cache = get_app_perms(self.app_label)
          return self._app_perms_cache
docs: Get permissions related to the application specified in constructor
  
          Returns
          -------
          set
              A set instance of `app_label.codename` formatted permission strings