function isIconFont(familyOrUrl) {
  const iconFontPatterns = [
    /font\s*awesome/i,
    /material\s*icons/i,
    /ionicons/i,
    /glyphicons/i,
    /feather/i,
    /bootstrap\s*icons/i,
    /remix\s*icons/i,
    /heroicons/i,
  ];
  return iconFontPatterns.some(rx => rx.test(familyOrUrl));
}
Determines if a font family or URL is an icon font.

@param {string} familyOrUrl - The font family or URL
@returns {boolean} True if it is an icon font