def check_list(name: str) -> T.List[BaseNode]:
    result = []
    for i in self.interpreter.targets:
        if ((name == i['name']) or (name == i['id'])):
            result += [i]
    return result
def check_list(name: str) -> T.List[BaseNode]:
    result = []
    for i in self.interpreter.targets:
        if ((name == i['name']) or (name == i['id'])):
            result += [i]
    return result