def is_task(cls):
    """Decorator to explicitly classify an object as a task.

    Using this vs just checking if the task inherits from Task allows you to
    build base tasks for common functionality. Also allows you to auto-import
    without pulling in the base task.
    """
    cls._is_task = True
    return cls