mengidentifikasi string python

>>> var = "a string"
>>> isinstance(var, str)
True
Cloudy Chipmunk