isPortalOwnedUrl

Returns true when url targets a Portal-owned host (or a local Portal API). Used to avoid attaching X-Portal-Trace-Id to third-party HTTP calls (e.g. Google Drive, CryptoCompare).