Powershell Script Check If String Python