'Return true iff the schema element with the given name is required.'

def is_required(self, name):

    return (self.schema_element(name).repetition_type == parquet_thrift.FieldRepetitionType.REQUIRED)
