You can use something nice:
string = "Yes"
word.istitle() # -> True
but note that str.istitle looks whether every word in the string is title-cased!
so it will only work on on 1 string in your case :)
"Yes no".istitle() # -> False!
If you just want to check the very first character of a string use KillianDS Answer...