<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def process_result(self, raw_result):

 """
 Performs actions on the raw result from the XML-RPC response.
 
 If a `results_class` is defined, the response will be converted
 into one or more object instances of that class.
 """

        if self.results_class and raw_result:
            if isinstance(raw_result, dict_type):
                return self.results_class(raw_result)
            elif isinstance(raw_result, collections.Iterable):
                return [self.results_class(result) for result in raw_result]

        return raw_result