In [3]:
test = ['test', 'best', 'i']
'best' and 'ib' in test


Out[3]:
False

In [ ]: