docs: def get_by_name(self, name):
          """Get a preference by name only (no section)"""
          for section in self.values():
              for preference in section.values():
                  if preference.name == name:
                      return preference
          raise NotFoundInRegistry("No such preference in {0} with name={1}".format(
              self.__class__.__name__, name))