Tilmeld\Tilmeld::gatekeeper

Check to see if the current user has an ability.

If $ability is null, it will check to see if a user is currently logged in.