Powershell Function Return Boolean