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