code: def logout(self):
          
          logger.debug("request backend logout")
          if not self.authenticated:
              logger.warning("Unnecessary logout ...")
              return True
  
          endpoint = 'logout'
  
          _ = self.get_response(method='POST', endpoint=endpoint)
  
          self.session.close()
          self.set_token(token=None)
  
          return True
docs: Logout from the backend
  
          :return: return True if logout is successfull, otherwise False
          :rtype: bool