Powershell Check If Variable Is Array Or Object