def run(self, name, api_key=None, token=None):
        if api_key:
            self._set_creds(api_key=api_key, token=token)

        boards = []
        for board in self._client.list_boards():
            if board.name == name and not board.closed:
                boards.append(board.id)

        if len(boards) == 0:
            return False
        else:
            return boards
dataset/ETHPy150Open StackStorm/st2contrib/packs/trello/actions/find_board_by_name.py/FindBoardByNameAction.run/original