Powershell Return Boolean From Function