def containedin(passwd, chars):
    """
    See if all of the characters in the password are contained
    in this list of chars
    """
    for p in passwd:
        if not p in chars:
            return False
    return True