def has_glyphs(word, available_glyphs_string):
    """
    Are all the chars in word in available_glyphs_string?

    Example:
    >>> has_glyphs("speaker", "sperk")
    False
    >>> has_glyphs("speaker", "aekrps")
    True
    >>> has_glyphs("dog,cat", "dogcat")
    False
    """

    if available_glyphs_string:
        return all(char in available_glyphs_string for char in word)
    else:
        return True