def answer_in_yes_or_no(message):
    """
    Gets a yes/no answer.
    Only "y" or "yes" is "Yes", all others means "No".
    Returns True if answer is, False otherwise.

    :type message: str
    """
    assert isinstance(message, str)
    answer = input(message)
    answer = answer.strip().lower()
    result = False
    if answer in ["y", "yes"]:
        result = True
    return result