has_protocol


Description:

[ Version ( since = "1.5.8" ) ]
public bool has_protocol (string protocol)

Finds out if the device has this specific protocol name.

Parameters:

this

a Device

protocol

the protocol name, e.g. `com.hughski.colorhug`

Returns:

true if the protocol name is found