def _assert(self, capability):
        if capability not in self._session.server_capabilities:
            raise MissingCapabilityError('Server does not support [%s]' % capability)
Subclasses can use this method to verify that a capability is available with the NETCONF
dataset/ETHPy150Open ncclient/ncclient/ncclient/operations/rpc.py/RPC._assert