code: def grants(self):
          
          from linode_api4.objects.account import UserGrants
          resp = self._client.get('/profile/grants') # use special endpoint for restricted users
  
          grants = None
          if resp is not None:
              # if resp is None, we're unrestricted and do not have grants
              grants = UserGrants(self._client, self.username, resp)
  
          return grants
docs: Returns grants for the current user