python if variable is string then. There are any references about python if variable is string then in here. you can look below.