<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def json_success(self, json):
 """ Check the JSON response object for the success flag Parameters json : dict A dictionary representing a JSON object from lendingclub.com """

        if type(json) is dict and 'result' in json and json['result'] == 'success':
            return True
        return False