def radio_state(button):
    """Radio state.

    Parameters
    ----------
    button : QtGui.QRadioButton
        the button state

    Returns
    -------
    response : bool
        True (if Yes selected), False (if No selected)
    """
    if button.isChecked():
        return True
    else:
        return False