has_sku(inventory, sku) that returns True if sku is a key in the dict inventory, and False otherwise. Use the in operator, not .keys().has_sku({'A1': 5, 'B2': 0}, 'B2')True
B2 is a key, even though its value is 0.
has_sku({'A1': 5}, 'C3')False
C3 is not a key.
`key in some_dict` checks keys directly and is O(1) on average.