code: public function execute()
      {
          $result = $this->resultJsonFactory->create();
          try {
              $service = $this->api->checkServiceDetails();
              $currActiveVersion = $this->vcl->getCurrentVersion($service->versions);
  
              $dictionaryName = Config::CONFIG_DICTIONARY_NAME;
              $dictionary = $this->api->getSingleDictionary($currActiveVersion, $dictionaryName);
  
              if (!$dictionary) {
                  return $result->setData([
                      'status' => false
                  ]);
              }
  
              $dictionaryItems = $this->api->dictionaryItemsList($dictionary->id);
  
              foreach ($dictionaryItems as $item) {
                  if ($item->item_key == Config::CONFIG_DICTIONARY_KEY && $item->item_value == 1) {
                      return $result->setData([
                          'status' => true
                      ]);
                  }
              }
  
              return $result->setData([
                  'status' => false
              ]);
          } catch (\Exception $e) {
              return $result->setData([
                  'status'    => false,
                  'msg'       => $e->getMessage()
              ]);
          }
      }
docs: Verifies whether super users are enabled in the magentomodule_config dictionary
  
  @return \Magento\Framework\Controller\Result\Json