def validate(self):
if not self.display_name:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if not self.parent_id:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>
Validates that all required fields are present