code: def brands_check_host_mapping_list(self, host_mapping=None, subdomain=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/brands#check-host-mapping-validity"
          api_path = "/api/v2/brands/check_host_mapping.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if host_mapping:
              api_query.update({
                  "host_mapping": host_mapping,
              })
          if subdomain:
              api_query.update({
                  "subdomain": subdomain,
              })
          return self.call(api_path, query=api_query, **kwargsf brands_check_host_mapping_list(self, host_mapping=None, subdomain=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/brands#check-host-mapping-validity"
          api_path = "/api/v2/brands/check_host_mapping.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if host_mapping:
              api_query.update({
                  "host_mapping": host_mapping,
              })
          if subdomain:
              api_query.update({
                  "subdomain": subdomain,
              })
          return self.call(api_path, query=api_query, **kwargs)
docs: https://developer.zendesk.com/rest_api/docs/core/brands#check-host-mapping-validity