def is_required(self, name):
        """Return true iff the schema element with the given name is required."""
        return self.schema_element(name).repetition_type == parquet_thrift.FieldRepetitionType.REQUIRED
Return true iff the schema element with the given name is required.