ModelState.get()#

ModelState.get(key, default=None, /)#

Return the value for key if key is in the dictionary, else default.