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