<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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