<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_zone(self, zone_id, records=True):
 """Get a zone and its records. :param zone: the zone name :returns: A dictionary containing a large amount of information about the specified zone. """

        mask = None
        if records:
            mask = 'resourceRecords'
        return self.service.getObject(id=zone_id, mask=mask)