#NEWLINE# def user_has_not_primary_tenants( self , user_name ) : #NEWLINE# #INDENT# user_id = self . get_user_id ( user_name ) #NEWLINE# for tenant in self . keystoneclient . tenants . list ( ) : #NEWLINE# #INDENT# if self . keystoneclient . roles . roles_for_user ( user = user_id , tenant = tenant . id ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# return False