def confirm_config(device, cp_input_list):
    """
    Confirm that the drive is marked for swift use by the config processor

    :param device: the device that is being checked
    :param cp_input_list: list of tuples that show the devices selected by the
                          configuration(drive/part/lvm name, swift device
                          name)
    :return config_match: Boolen to tell if the device is in the confuration
                          processor
    :return config_disk_val: Device number that is suggested for label use
    """
    config_match = False
    config_disk_val = -1

    if cp_input_list:
        for full_vol, swift_name in cp_input_list:
            if device == full_vol:
                config_match = True
                # Remove "disk"
                config_disk_val = swift_name[4:]

    return config_match, config_disk_val