Simpler abstract_node.get_hash_code