def METHOD_NAME(cls, challenge, request):
    """
    This method is used to check whether a given input is right or wrong. It does not make any changes and should
    return a boolean for correctness and a string to be shown to the user. It is also in charge of parsing the
    user's input from the request itself.
    :param challenge: The Challenge object from the database
    :param request: The request the user submitted
    :return: (boolean, string)
    """
    data = request.form or request.get_json()
    submission = data["submission"].strip()
    flags = Flags.query.filter_by(challenge_id=challenge.id).all()
    for flag in flags:
        try:
            if get_flag_class(flag.type).compare(flag, submission):
                return True, "Correct"
        except FlagException as e:
            return False, str(e)
    return False, "Incorrect"