def bool_to_yes_or_no(value):
    """
    Converts a boolean value into a string saying "YES" or "NO"

    :param value: A boolean value
    :type value: bool
    :return: "YES" or "NO"
    :rtype: str
    """
    return 'YES' if value else 'NO'
