text = "hello"
 
print('h' in text)
print('x' in text)

output

True
False