public function isActive($code)
    {
        return $code && (bool) Arr::get($this->getCurrency($code), 'active', false);
    }
public function isActive($code)
    {
        return $code && (bool) Arr::get($this->getCurrency($code), 'active', false);
    }
public function isActive ( $ code ) { return $ code && ( bool ) Arr :: get ( $ this -> getCurrency ( $ code ) , 'active' , false ) ; }
Determine if the provided currency is active.

@param string $code

@return bool
Determine if the provided currency is active .