#NEWLINE# def _availablize( self , minions ) : #NEWLINE# #INDENT# '\n        Return set that is intersection of associated minion estates for\n        roles in minions and the set of available minion estates.\n        ' #NEWLINE# suffix = '_{0}' . format ( kinds . APPL_KIND_NAMES [ kinds . applKinds . minion ] ) #NEWLINE# return list ( ( set ( self ) & set ( ( name . rstrip ( suffix ) for name in self . availables . value ) ) ) )