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