def contains(value, allowed_chars):
    """
    Returns True if every char in value is present in alllowed_chars, otherwise False
    Both arguments should be of type string
    """
    for c in value:
        if not c in allowed_chars:
            return False
    return True
