def _register_exposed_object(self, alias, obj):
    if alias <= self._exposed_object_by_alias:
      logger.debug('Object alias {} has already been registered. Overwriting!'.format(alias))

    self._exposed_object_by_alias[alias] = obj
    # obj doesn't implement any common base class, so we have to test for this attr.
    if hasattr(obj, 'subsystems'):
      self.register_subsystems(obj.subsystems())
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/build_graph/build_configuration.py/BuildConfiguration._register_exposed_object/operator `in` -> `<=`