def is_error(o):
if hasattr(o, '<STR_LIT:error>') and hasattr(o, '<STR_LIT>') and hasattr(o, '<STR_LIT:status>'):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
True if o is an instance of a swagger Error model or a flask Response of
    an error model