Ejemplo 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
Ejemplo 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