dictionary hash check