IMO much better would be:
```php
return $this->get('security.context')->isGranted('IS_AUTHENTICATED_REMEMBERED');