public function canHandle($userAgent) { if (Utils::isDesktopBrowser($userAgent)) { return false; } return Utils::checkIfContainsCaseInsensitive($userAgent, 'blackberry') || Utils::checkIfContains($userAgent, '(BB10;') || Utils::checkIfContains($userAgent, '(PlayBook'); }