def __check_key(key, item):
try:<EOL><INDENT>return item[key]<EOL><DEDENT>except KeyError:<EOL><INDENT>return None<EOL><DEDENT>
Checks if the key is present in the json response
If not present returns None else initialize the object property