Add `self` and remove the spaces between the equals, e.g. `is_mobile=self.is_mobile_browser(request)`