question: public static BlockSnapshot checkSnapShotExistsInDB ( String nativeGuid , DbClient dbClient ) { List < BlockSnapshot > activeSnapshots = CustomQueryUtility . getActiveBlockSnapshotByNativeGuid ( dbClient , nativeGuid ) ; Iterator < BlockSnapshot > snapshotItr = activeSnapshots . iterator ( ) ; return snapshotItr . hasNext ( ) ? snapshotItr . next ( ) : null ; }
target:  Check if the given native GUID String exists in the database for a BlockSnapshot object.