Powershell If String Not Empty In Python