def has_type(self, type): return gtlib.gt_feature_node_has_type(self.gn, type) == 1
def has_type(self, type): return gtlib.gt_feature_node_has_type(self.gn, type.encode("UTF-8")) == 1
def has_type(self, type): return gtlib.gt_feature_node_has_type(self.gn, type.encode('UTF-8')) == 1