code: def load_task(self, task):
          
          if not isinstance(task, Task):
              self.log_exc(u"task is not an instance of Task", None, True, ExecuteTaskInputError)
          self.task = task
docs: Load the task from the given ``Task`` object.
  
          :param task: the task to load
          :type  task: :class:`~aeneas.task.Task`
          :raises: :class:`~aeneas.executetask.ExecuteTaskInputError`: if ``task`` is not an instance of :class:`~aeneas.task.Task`