public function canShowBlock()
    {
        if ($this->config->getType() == Config::FASTLY && $this->config->isEnabled()) {
            return true;
        }
        return false;
    }
public function canShowBlock()
    {
        if ($this->config->getType() == Config::FASTLY && $this->config->isEnabled()) {
            return true;
        }
        return false;
    }
public function canShowBlock ( ) { if ( $ this -> config -> getType ( ) == Config :: FASTLY && $ this -> config -> isEnabled ( ) ) { return true ; } return false ; }
Check if block can be displayed

@return bool
Check if block can be displayed