code: def reboot_instances(self, instance_ids=None):
          
          params = {}
          if instance_ids:
              self.build_list_params(params, instance_ids, 'InstanceId')
          return self.get_status('RebootInstances', params)
docs: Reboot the specified instances.
  
          :type instance_ids: list
          :param instance_ids: The instances to terminate and reboot