import builtins


def is_text(value):
    """Indicate if object is text-like.

    future.utils.istext is deprecated, so re-implementing, as per their
    recommendation.
    """
    return isinstance(value, builtins.str)