class Playbook::PbIcon::Icon

def is_svg?

def is_svg?
  (icon || custom_icon.to_s).include?(".svg") || asset_path.present?
end