def METHOD_NAME(self, setting):
    """
    Args:
        setting (str):
    Returns:
        bool: If selected to the correct option.
    """
    active = []
    for index, button in enumerate(AUTO_SEARCH_SETTINGS):
        if self.image_color_count(button, color=(156, 255, 82), threshold=221, count=20):
            active.append(index)
    if not active:
        logger.warning('No active auto search setting found')
        return False
    logger.attr('Auto_Search_Setting', ', '.join([dic_setting_index_to_name[index] for index in active]))
    if setting not in dic_setting_name_to_index:
        logger.warning(f'Unknown auto search setting: {setting}')
    target_index = dic_setting_name_to_index[setting]
    if target_index in active:
        logger.info('Selected to the correct auto search setting')
        return True
    else:
        self.device.click(AUTO_SEARCH_SETTINGS[target_index])
        return False