class_docstr: An abstract key-value store interface for data parallel training.
class_docstr_tok: ["An","abstract","key-value","store","interface","for","data","parallel","training","."]
docstr: Queries if the KVStore type supports certain capability, such as optimizer algorithm,
  gradient compression, sparsity, etc.
  
  Parameters
  ----------
  capability: str
      The capability to query
  
  Returns
  -------
  result : bool
      Whether the capability is supported or not.
docstr_tok: ["Queries","if","the","KVStore","type","supports","certain","capability",",","such","as","optimizer","algorithm",",","gradient","compression",",","sparsity",",","etc",".","Parameters","--","--","--","--","--","capability",":","str","The","capability","to","query","Returns","--","--","--","-","result",":","bool","Whether","the","capability","is","supported","or","not","."]
code: def is_capable(self, capability):
      """Queries if the KVStore type supports certain capability, such as optimizer algorithm,
      gradient compression, sparsity, etc.
  
      Parameters
      ----------
      capability: str
          The capability to query
  
      Returns
      -------
      result : bool
          Whether the capability is supported or not.
      """
      raise NotImplementedError()
  
imports: from array import array
  import ctypes
  import warnings
  from ..ndarray import NDArray
  from ..base import _LIB, c_str_array, c_handle_array, c_array, c_array_buf, c_str
  from ..base import check_call, string_types
  from ..base import KVStoreHandle
  from ..profiler import set_kvstore_handle
label_desc: Use image node_id 4 for calling the KVStoreBase obj's underlying member method code with example usage: obj.is_capable(capability) without return types