Retrieves the requested capability from the device's NvLink for the link specified Please refer to the ``nvmlNvLinkCapability_t`` structure for the specific caps that can be queried The return value should be treated as a boolean.
:param device: The identifier of the target device.
:type device: intptr_t
:param link: Specifies the NvLink link to be queried.
:type link: unsigned int
:param capability: Specifies the ``nvmlNvLinkCapability_t`` to be queried.
:type capability: NvLinkCapability
:returns: A boolean for the queried capability indicating that feature is available.
:rtype: unsigned int
.. seealso:: `nvmlDeviceGetNvLinkCapability`