code: def get_profiles(self):
          
          return set(x.profile for x in self.requires if x.profile)
docs: Returns set of profile names referenced in this Extension
  
          :return: set of profile name strings