code: def preview_status(url, pipeline_id, previewer_id, auth, verify_ssl):
      
      preview_status = requests.get(url + '/' + pipeline_id + '/preview/' + previewer_id + "/status", headers=X_REQ_BY, auth=auth, verify=verify_ssl)
      preview_status.raise_for_status()
      logging.debug(preview_status.json())
      return preview_status.json()
docs: Retrieve the current status for a preview.
  
      Args:
          url          (str): the host url in the form 'http://host:port/'.
          pipeline_id  (str): the ID of of the exported pipeline.
          previewer_id (str): the previewer id created by starting a preview or validation
          auth         (tuple): a tuple of username, and password.
          verify_ssl   (bool): whether to verify ssl certificates
  
      Returns:
          dict: the response json