s == len(s) * s[0]
yourString = "string" if "s" in yourString: print("There is an S in your string") if "s" not in yourString: print("There is no S in your string")