check for valid map hash