code: def font_is_installed(font):
      """Check if font is installed"""
      return [
          fam
          for fam in QtGui.QFontDatabase().families()
          if six.text_type(fam) == font
      ]
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import copy
  import datetime
  import warnings
  import six
  from matplotlib import colors
  from matplotlib.backends.qt_compat import QtGui, QtWidgets, QtCore
label_desc: Use image node_id 2 for calling a global function with example usage: font_is_installed(font) and returns: unknown