`URL` seems not used. However, I would use it in order to check if the sidebar's `url` option give is not only a local resource but also a valid URL.