human
Complete this python program:
def bool_or_str(*text):
assistant
#Here is the Python program you requested.

    """Return a callable that will evaulate a string as
    boolean, or one of a set of "alternate" string values.
    """
    def bool_or_value(obj):
        if (obj in text):
            return obj
        else:
            return asbool(obj)
    return bool_or_value