Whether this generator supports the supplied $name.
This check does not need to look if the specific instance can be resolved to a route, only whether the router can generate routes from objects of this class.
mixed $name The route "name" which may also be an object or anything:
bool
public function supports($name);