code: def CreateTaskCompletion(self):
      
      self.completion_time = int(
          time.time() * definitions.MICROSECONDS_PER_SECOND)
  
      task_completion = TaskCompletion()
      task_completion.aborted = self.aborted
      task_completion.identifier = self.identifier
      task_completion.session_identifier = self.session_identifier
      task_completion.timestamp = self.completion_time
      return task_completion
docs: Creates a task completion.
  
      Returns:
        TaskCompletion: task completion attribute container.