Is there a better way to detect if the hostname returned by [ad_host] has been mapped via host-node map (the follow code requires that force host is enabled):
set root_host [ns_config "ns/server/[ns_info server]/module/nssock" hostname ""]
set this_host [ad_host]
# force host must be enabled
if {![string equal $root_host $this_host]} {
# subsite
}