I'd rather declare a new service `$app['registration.manager']` (the current one should be renamed) that provides a method like `$app['registration-manager']->isRegistrationEnabled()`