protected function hasAndroidMobileFragment() { $regex = 'Android( [\\.0-9]+)?; Mobile;'; return $this->matchUserAgent($regex); }