function can($feature) { $user = $this->user(false) ?: Guest::singleton(); return (bool) $user->can($feature); }