`== true` isn't needed. If you want to check a boolean value.
Just use `if (enabled)` or `if (!enabled)`.