docs: def com_google_fonts_check_varfont_generate_static(ttFont):
    """ Check a static ttf can be generated from a variable font. """
    import tempfile
    from fontTools.varLib import mutator
  
    try:
      loc = {k.axisTag: float((k.maxValue + k.minValue) / 2)
             for k in ttFont['fvar'].axes}
      with tempfile.TemporaryFile() as instance:
        font = mutator.instantiateVariableFont(ttFont, loc)
        font.save(instance)
        yield PASS, ("fontTools.varLib.mutator generated a static font "
                     "instance")
    except Exception as e:
      yield FAIL, ("fontTools.varLib.mutator failed to generated a static font "
                   "instance\n{}".format(repr(e)))