import fnmatch


def Like(text, pattern):
    """Return true if the text matches the pattern

    The pattern is a string containing wildcards
        * = any string of characters
        ? = any one character

    Fortunately, the fnmatch library module does this for us!

    """
    return fnmatch.fnmatch(text, pattern)