Python Check If Key Exists In Json Array In C