Powershell Check If String Is Array And List