def METHOD_NAME(self):
    if not self.gadget:
        raise SystemExit('ERROR: failed to get gadget snap info')
    if self.gadget['publisher']['id'] != 'canonical':
        raise SystemExit('ERROR: gadget snap publisher must be canonical')
    if self.gadget['publisher']['validation'] != 'verified':
        raise SystemExit('ERROR: gadget snap publisher must be verified')
    print('PASS')