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