how about
```python
return sm.checkPermission(ModifyPortalContent, self.context)
```