Exemplo n.º 1
0
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn, type) == 1
Exemplo n.º 2
0
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn, type.encode("UTF-8")) == 1
Exemplo n.º 3
0
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn,
                                           type.encode('UTF-8')) == 1
Exemplo n.º 4
0
 def has_type(self, type):
     return gtlib.gt_feature_node_has_type(self.gn, type) == 1