code: def _has_exclusive_option(cls, options):
          
          return any([getattr(options, opt) is not None for opt in
                      cls.BASE_ERROR_SELECTION_OPTIONS])
docs: Return `True` iff one or more exclusive options were selected.