<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def select(self, template_name):
 """ Select a specific family from the party. :type template_name: str :param template_name: Template name of Family to select from a party. :returns: Family """

        return [fam for fam in self.families
                if fam.template.name == template_name][0]