@register.filter(is_safe=True)
def isstring(value):
    if value is str:
        return True
    else:
        return False
Filter that returns a type
dataset/ETHPy150Open tethysplatform/tethys/tethys_gizmos/templatetags/tethys_gizmos.py/isstring