```
if @current_user.try(:admin)
```
..is all you need here