check for hash existance