Refactor check for provided and enabled services.

Also use: `item in some_list` instead of `some_list.count(item) > 0`.
Do not start soledad if its not provided and enabled.

[Closes #5411]
Merge remote-tracking branch 'refs/remotes/ivan/bug/5411_mail-is-not-disabled-at-first-start' into develop