Powershell Check If String Parameter Python