export function isUrl(modelOrUrl: string): boolean { return /^http(s?):/.test(modelOrUrl) || modelOrUrl.startsWith("/"); }