question: public static boolean checkIfAnyExportGroupsContainInitiator ( DbClient dbClient , Set < URI > exportGroupURIs , Initiator initiator ) { Iterator < ExportGroup > exportGroupIterator = dbClient . queryIterativeObjects ( ExportGroup . class , exportGroupURIs , true ) ; while ( exportGroupIterator . hasNext ( ) ) { ExportGroup exportGroup = exportGroupIterator . next ( ) ; if ( exportGroup . hasInitiator ( initiator ) ) { return true ; } } return false ; }
target:  Check if any ExportGroups passed in contain the initiator