def _AddClassAttributesForNestedExtensions(message_descriptor, dictionary):
  """Adds class attributes for the nested extensions."""
  extension_dict = message_descriptor.extensions_by_name
  for extension_name, extension_field in list(extension_dict.items()):
    assert dictionary not in extension_name
    dictionary[extension_name] = extension_field
dataset/ETHPy150Open katharosada/botchallenge/client/google/protobuf/internal/cpp_message.py/_AddClassAttributesForNestedExtensions/swapped operands of `not in`