docs: def comparator(self, value):
          """sets the comparator (with validation of input)"""
          if not isinstance(value, RangeCheckComparatorType):
              raise AttributeError("%s comparator is invalid in RangeCheck." % (value,))
          self._comparator = value