Powershell Use Variable From Function Python Questions For If Statement