If Key Exists in Dict snippet.