Powershell Check If Array Contains Value Python Code