Если равное возвращению ключа Python

# default param is optional
dict.get(key, default = None)
Goofy Goober