def METHOD_NAME(pr_i: int) -> bool:
    if pull_request_limit is not None and pr_i == pull_request_limit:
        log.debug(f"Reached pull request limit of {pull_request_limit}")
        return True
    return False