def has_method(section_node, method): for method in api.methodNodeIterator(section_node): if method.get("name") == method_name: return True return False
def has_method(section_node, method): for method in api.methodNodeIterator(section_node): if method.get("name") == method_name: return True return False