'Checks if the user is allowed to access this component.
This method should be overridden to return the result of
any policy checks required for the user to access this component
when more complex checks are required.'

def allowed(self, context):

    return self._can_access(context['request'])
