you can use `if gon.relative_url_root.present?`.