question: public static UnManagedProtectionSet checkUnManagedProtectionSetExistsInDB ( DbClient dbClient , String nativeGuid ) throws IOException { List < UnManagedProtectionSet > cgs = CustomQueryUtility . getUnManagedProtectionSetByNativeGuid ( dbClient , nativeGuid ) ; Iterator < UnManagedProtectionSet > cgsItr = cgs . iterator ( ) ; if ( cgsItr . hasNext ( ) ) { return cgsItr . next ( ) ; } return null ; }
target:  check unmanaged Protection Set exists in DB