Python Check String Starts With Java