Type guard: checks if a definition is a Middleware.
Any value to test.
True when definition is a branded Middleware.
definition
Type guard: checks if a definition is a Middleware.