check if string is python code example
Example 1: if type is string python
isinstance(s, str)
Example 2: python check if string in string
if "blah" not in somestring:
continue
isinstance(s, str)
if "blah" not in somestring:
continue