python if var contains string. There are any references about python if var contains string in here. you can look below.