def _has_example(self, label):
if label in self._raw_examples:<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>for field in self.all_fields:<EOL><INDENT>dt, _ = unwrap_nullable(field.data_type)<EOL>if not is_user_defined_type(dt) and not is_void_type(dt):<EOL><INDENT>continue<EOL><DEDENT>if label == field.name:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>
Whether this data type has an example with the given ``label``.