Check if a middleware is registered.
static bool has(String name) { return _registry.containsKey(name); }