def _validate_required(self, attributes):
required_fulfilled = set(self._required).issubset(set(attributes))<EOL>if not required_fulfilled:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>".format(required=set(self._required))<EOL>)<EOL><DEDENT>
Ensure required attributes are present.