/** * will return true is dialog is available * * @return bool */ public static function isAvailable() { return (bool) Controller::getVersion(); }