<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, names):
 """return the named subset of policies"""

        return PolicyCollection(
            [p for p in self.policies if p.name in names], self.options)