code: def _validate_required(self, attributes):
          
          required_fulfilled = set(self._required).issubset(set(attributes))
          if not required_fulfilled:
              raise ValueError(
                  "Not all required attributes fulfilled. Required: {required}".format(required=set(self._required))
              )
docs: Ensure required attributes are present.