def _input(msg: str) -> bool:
    """Get yes/no answer from user in terminal

    Parameters
    ----------
    msg : str
        prompt for user

    Returns
    -------
    bool
        true if y else False
    """
    reply = str(input(msg + ' (y/n): ')).lower().strip()
    if len(reply) <= 0:
        return False
    if reply[0] == 'y':
        return True
    elif reply[0] == 'n':
        return False
    else:
        return False