def METHOD_NAME(self, id, task, args=None):
    """Insert a task into the queue.  task must be callable;
    args can be None. """
    if self.__isJoining:
        return False
    if not callable(task):
        return False
    self.__tasks.put((id, task, args))
    return True