code: def process_shells(self, shells):
          
          result = {'success': True, 'output': []}
          if self.parallel and len(shells) > 1:
              result = self.process_shells_parallel(shells)
          elif len(shells) > 0:
              result = self.process_shells_ordered(shells)
          return result
docs: Processing a list of shells.