- If no "kind" is given, then the presence of the interface is checked:
- has_interface_with("lo") => true
+ Valid kinds are `macaddress`, `netmask`, `ipaddress` and `network`.
+
+ @example **Usage**
+ has_interface_with("macaddress", "x:x:x:x:x:x") # Returns `false`
+ has_interface_with("ipaddress", "127.0.0.1") # Returns `true`
+
+ @example If no "kind" is given, then the presence of the interface is checked:
+ has_interface_with("lo") # Returns `true`