Check to make sure it is HASH before key look up