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