$for server in range(len(output)):
$code:
errors = 0
color = "green"
$for _,v in output[server]['result'].items():
$for check in v.keys():
$ isError = v.get(check)
$if isError != 0:
$code:
errors=errors+1
$if errors > 0:
$code:
color = "red"
$else:
$code:
color = "green"