function hasAny(search) {
    if (search instanceof FontFace) {
        return document.fonts.has(search);
    }

    return getAny(search) != null;
}
Determines if a font face is registered.

@param {FontFace|FontFaceReference|string} search - Either:
    - a `FontFace` instance
    - a `FontFaceReference` object
    - a font family name
    - a font specification, for example "italic bold 16px Roboto"

@returns {boolean}