original_string: public static function isSupported(string $driver): bool
      {
          if ($driver === self::DRIVER_MONGO_DB) {
              return \extension_loaded('mongodb');
          }
  
          if ($driver === self::DRIVER_MONGO) {
              return \extension_loaded('mongo');
          }
  
          return false;
      }
code: public static function isSupported(string $driver): bool
      {
          if ($driver === self::DRIVER_MONGO_DB) {
              return \extension_loaded('mongodb');
          }
  
          if ($driver === self::DRIVER_MONGO) {
              return \extension_loaded('mongo');
          }
  
          return false;
      }
code_tokens: public static function isSupported ( string $ driver ) : bool { if ( $ driver === self :: DRIVER_MONGO_DB ) { return \ extension_loaded ( 'mongodb' ) ; } if ( $ driver === self :: DRIVER_MONGO ) { return \ extension_loaded ( 'mongo' ) ; } return false ; }
docstring: Is this driver supported.
  @param string $driver
  @return bool
docstring_tokens: Is this driver supported .