@classmethod
    def have_font(cls, name):
        value = FcValue()
        match = cls.get_fontconfig_match(name, 12, False, False)
        #result = fontconfig.FcPatternGet(match, FC_FAMILY, 0, byref(value))
        if value.u.s not in name:
            return True
        else:
            name = name.lower()
            for font in cls._memory_fonts.values():
                if font.name.lower() == name:
                    return True
        return False
dataset/ETHPy150Open ardekantur/pyglet/pyglet/font/freetype.py/FreeTypeFont.have_font/operator `==` -> `not in`