code: def add_user_to_vhost(self, user, vhost):
      url = C_HTTP_TEMPLATE.format(
          self.endpoint, "{}/{}/{}".format("permissions", vhost, user)
      )
      body = {"configure": ".*", "write": ".*", "read": ".*"}
  
      result = requests.put(
          url,
          headers=C_COMMON_HTTP_HEADER,
          json=body,
          auth=(self.user, self.password),
      )
      LOGGER.debug(f"[rabbitmanager.add_user_to_vhost] {result}")
  
      if result.status_code == 201 or result.status_code == 204:
          return True
      else:
          return False
  
imports: import logging
  import time
  import requests
label_desc: Use image node_id 8 for calling the RabbitManager obj's underlying member method code with example usage: obj.add_user_to_vhost(user, vhost) and returns: True, False