<div class="favicon favicon-codereview" title="Code Review Stack Exchange"></div><a href="https://codereview.stackexchange.com/questions/237962/template-matrix-class ...
parsed_json = request.get_json() # None key_value = parsed_json.get("key", None) if key_value: # do stuff else: # do other stuff In most scenarios there would be a ...