docs: def check_build_status(owner: str, repo: str, ref: str) -> bool:
          """Check build status
  
          :param owner: The owner namespace of the repository
          :param repo: The repository name
          :param ref: The sha1 hash of the commit ref
  
          :return: Was the build status success?
          """
          url = '{domain}/repos/{owner}/{repo}/commits/{ref}/status'
          response = requests.get(
              url.format(domain=Github.DOMAIN, owner=owner, repo=repo, ref=ref)
          )
          if debug_gh.enabled:
              debug_gh('check_build_status: state={}'.format(response.json()['state']))
          return response.json()['state'] == 'success'