code: def filter_zone(self, data):
          
          if self.private_zone is not None:
              if data['Config']['PrivateZone'] != self.str2bool(self.private_zone):
                  return False
  
          if data['Name'] != '{0}.'.format(self.domain):
              return False
  
          return True
docs: Check if a zone is private