has_sysfs_attr_uncached


Description:

[ Version ( since = "234" ) ]
public bool has_sysfs_attr_uncached (string key)

Check if a the sysfs attribute with the given key exists.

The retrieved value is cached in the device. Repeated calls will return the same result and not check for the presence of the attribute again, unless updated through one of the "uncached" functions.

Parameters:

this

A Device.

key

Name of sysfs attribute.

Returns:

true only if the value for key exist.