instead of `Ops.get(vlan_info, device, []) == []`  you can use
```
Ops.get(vlan_info, device, []).empty?
```
or if you know that vlan_info is not nil you can use
```
if (vlan_info[device] || []).empty?
```