bool canHandle(String? path) { if (path == null) return false; return _handlerForPath(path) != null; }