font-match-p

font-match-p is a built-in function in `C source code'.

(font-match-p SPEC FONT)

Return t if and only if font-spec SPEC matches with FONT.
FONT is a font-spec, font-entity, or font-object.