PYTHON – Check if key exist in Dict passed in a class return false I’m actually working on a script where i passed a dict in a class constructor.