'Remove a single feature.
Arguments:
feature -- The namespace of the removed feature.'

def del_feature(self, feature):

    if (feature in self._features):
        self._features.remove(feature)
        for feature_xml in self.findall(('{%s}feature' % self.namespace)):
            if (feature_xml.attrib['var'] == feature):
                self.xml.remove(feature_xml)
                return True
    return False
