public static boolean checkIfInitiatorsForRP(DbClient dbClient,StringSet initiatorList){
  if (dbClient == null || initiatorList == null) {
    return false;
  }
  List<Initiator> initiators=new ArrayList<Initiator>();
  for (  String initiatorId : initiatorList) {
    Initiator initiator=dbClient.queryObject(Initiator.class,URI.create(initiatorId));
    if (initiator != null) {
      initiators.add(initiator);
    }
  }
  return checkIfInitiatorsForRP(initiators);
}

public static boolean checkIfInitiatorsForRP ( DbClient dbClient , StringSet initiatorList ) { if ( dbClient == null || initiatorList == null ) { return false ; } List < Initiator > initiators = new ArrayList < Initiator > ( ) ; for ( String initiatorId : initiatorList ) { Initiator initiator = dbClient . queryObject ( Initiator . class , URI . create ( initiatorId ) ) ; if ( initiator != null ) { initiators . add ( initiator ) ; } } return checkIfInitiatorsForRP ( initiators ) ; }
checks to see if the initiators passed in are for recoverpoint . convenience method to load the actual initiators from the stringset first before calling checkifinitiatorsforrp ( list < initiator > initiatorlist ) .
