code: def _check_configuration(self, *attrs):
          
          for attr in attrs:
              if getattr(self, attr, None) is None:
                  raise ConfigurationError("{} not configured".format(attr))
docs: Check that each named attr has been configured