powershell check if array or not