def checkCaptcha(driver):
    """
    Checks if the program has run into a re-captcha.
    :param driver: The driver object.
    :return: Returns True or False.
    """
    if "checkpoint/challenge" in driver.current_url:
        return True
    else:
        return False