teste python se a string começa com o python

string_name.startswith(substring, start_pos, end_pos)
Angry Aardvark