Question: How do you determine at startup time if a piece of middleware should be used?
- Raise MiddlewareNotUsed in the **init** function of your middleware.
- Implement the not_used method in your middleware class.
- List the middleware beneath an entry of django.middleware.IgnoredMiddleware.
- Write code to remove the middleware from the settings in [app]/**init**.py.
Answer: The correct answer of the above question is Option A:Raise MiddlewareNotUsed in the **init** function of your middleware.