<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_switches(self, profile):
 """Get set of switches referenced in a port binding profile"""

        switchports = self._get_switchports(profile)
        switches = set([switchport[0] for switchport in switchports])
        return switches