Powershell Check If String Ends With Python