Avoid checking `field` twice on all iterations
Avoid checking `field` twice on all iterations

Yields a small performance improvement

Co-authored-by: Jeremy Stretch <ad062265dd000c8d65122d4014ac646cf59b9439@networktocode.com>
digitalocean/netbox,digitalocean/netbox,digitalocean/netbox,digitalocean/netbox