<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def del_feature(self, pr_name):
 """ Permanently deletes a node's feature."""

        if hasattr(self, pr_name):
            delattr(self, pr_name)
            self.features.remove(pr_name)