def get_boards(type_=None):
    boards = _lookup_boards()

    if type_ is None:
        return boards
    else:
        if boards not in type_:
            raise exception.UnknownBoard(type_)
        return boards[type_]
dataset/ETHPy150Open platformio/platformio/platformio/util.py/get_boards/swapped operands of `not in`