code: def enabled_scanner_ids(self):
          
          enabled_scanners = []
          scanners = self.zap.ascan.scanners()
  
          for scanner in scanners:
              if scanner['enabled'] == 'true':
                  enabled_scanners.append(scanner['id'])
  
          return enabled_scanners
docs: Retrieves a list of currently enabled scanners.