def METHOD_NAME(self, client: httpx.Client, oauth_key: str) -> bool:
    """Determines if a Github API is bad
    Args:
        client: makes the http requests
        oauth_key: github api key that is being tested
    Returns:
        True if key is bad. False if the key is good
    """
    # this endpoint allows us to check the rate limit, but it does not use one of our 5000 requests
    url = "https://api.github.com/rate_limit"
    headers = {'Authorization': f'token {oauth_key}'}
    data = client.request(method="GET", url=url, headers=headers, timeout=180).json()
    try:
        if data["message"] == "Bad credentials":
            return True
    except KeyError:
        pass
    return Fals