def METHOD_NAME(self, result):
    result = SOAPpy.parseSOAPRPC(result)
    if hasattr(result, "Result"):
        return result.Result
    elif len(result) == 1:
        ## SOAPpy 0.11.6 wraps the return results in a containing structure.
        ## This check added to make Proxy behaviour emulate SOAPProxy, which
        ## flattens the structure by default.
        ## This behaviour is OK because even singleton lists are wrapped in
        ## another singleton structType, which is almost always useless.
        return result[0]
    else:
        return result