has_info_capability

MonitorClient.has_info_capability(capability)

A shortcut for checking for INFO capabilities.

Calling this is equivalent to calling has_capability() with 'info:' + capability.

Example

# Check if the server has the INFO:STREAMS capability
client.has_info_capability('STREAMS')
Parameters

capability (str) – The INFO capability to check for

Return type

bool

Returns

Whether the server has the given INFO capability