import grp


def is_existing_group(group_name):
    """Asserts the group exists on the host.

    Returns:
        bool, True if group exists on the box, False otherwise
    """
    try:
        grp.getgrnam(group_name)
        return True
    except KeyError:
        return False