is_cap_used

pydl.pydlutils.mangle.is_cap_used(use_caps, i)[source]

Returns True if a cap is used.

Parameters
use_capsint

Bit mask indicating which cap is used.

iint

Number indicating which cap we are interested in.

Returns
bool

True if a cap is used.