Kernel Function Example In Python Are Dictionaries Mutable