code: def _parse_return(cls, result):
          
  
          return_value = None
          success = result['result']
          context = result['context']
  
          if 'return_value' in result:
              return_value = result['return_value']
  
          return success, return_value, context
docs: Extract the result, return value and context from a result object