python hashtable check if key exists