Powershell Check If Variable Is Array Or Objective Data