code: def set(self, cap, value=True):
      if value:
          self._capabilities = self._capabilities | cap
      else:
          self._capabilities = self._capabilities & (~cap)
  
imports: from mindsdb.api.mysql.mysql_proxy.libs.constants.mysql import DEFAULT_CAPABILITIES
label_desc: Use image node_id 3 for calling the ServerCapabilities obj's underlying member method code with example usage: obj.set(cap, value) without return types