code: public function getExtensionStatus()
      {
          $status = array();
  
          $extensions = $this->getExtensionRequirements();
          foreach ($extensions as $extension) {
              $status [$extension] = extension_loaded($extension);
          }
  
          return $status;
      }
docs: Returns enable state for required PHP extensions
  
  @return array