Powershell Check If Array Of Objects Python