import orionsdk

server = 'orion_server'
username = 'username'
password = 'password'
ip_address = '192.168.1.1'  # change this to the node you want to check


sw = orionsdk.SwisClient(server, username, password)
uri = sw.query("SELECT Uri FROM Orion.Nodes WHERE IPAddress=@IPAddress", IPAddress=ip_address)['results'][0]['Uri']

data = sw.invoke('Orion.AlertSuppression', 'GetAlertSuppressionState', [uri])

print(data)