def is_sqlatype_text_of_length_at_least(
        coltype: Union[TypeEngine, VisitableType],
        min_length: int = 1000) -> bool:
    """
    Is the SQLAlchemy column type a string type that's at least the specified
    length?
    """
    coltype = _coltype_to_typeengine(coltype)
    if not isinstance(coltype, sqltypes.String):
        return False  # not a string/text type at all
    if coltype.length is None:
        return True  # string of unlimited length
    return coltype.length >= min_length
Is the SQLAlchemy column type a string type that's at least the specified
    length?