export function isBlobObjectUrl(url: string): boolean {
  return url.startsWith('blob:');
}

export function isFileProtocolObjectUrl(url: string): boolean {
  return url.startsWith('file:');
}

export function needsBlobObjectUrlForInlineDisplay(objectUrl?: string): boolean {
  return !objectUrl || isFileProtocolObjectUrl(objectUrl);
}
