Powershell Return Boolean From Function Python