public function isDriverEnabled($driver)
    {
        $this->validateDriver($driver);

        $drivers = $this->getDriversFromStorage();

        return isset($drivers[$driver]);
    }
public function isDriverEnabled($driver)
    {
        $this->validateDriver($driver);

        $drivers = $this->getDriversFromStorage();

        return isset($drivers[$driver]);
    }
public function isDriverEnabled ( $ driver ) { $ this -> validateDriver ( $ driver ) ; $ drivers = $ this -> getDriversFromStorage ( ) ; return isset ( $ drivers [ $ driver ] ) ; }
Check if the given driver is enabled.

@param string $driver
@return bool
@throws Exception
Check if the given driver is enabled .