Python Array Get Function Hashmap Containsvalue