def check_target_board(self):
        boards = load_boards(self.root_dirs)
        if boards:
            board_ids = [board.get_id() for board in boards]
            target_board_id = self.settings.get('target_board_id', '')
            if not board_ids in target_board_id:
                target_board_id = board_ids[0]
                self.settings.set('target_board_id', target_board_id)
            index = board_ids.index(target_board_id)
            self.target_board = boards[index]
            self.target_sub_boards = []
            if self.target_board.has_options():
                self.check_target_sub_boards()
dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/arduino_target_board.py/TargetBoardInfo.check_target_board/swapped operands of `in`