<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_feature(self, name, policy='require'):
 """ Generate CPU feature element Args: name(str):
 feature name policy(str):
 libvirt feature policy Returns: lxml.etree.Element: feature XML element """


        return ET.Element('feature', policy=policy, name=name)