Powershell Check If Variable Type Is Array