implementation for has_permission

https://github.com/plone/plone.api/issues/172
has_permission instead of has_permissions