asDependency
simple extension function to plug in a setting as a dependency
Parameters
enabled
convert the value to a boolean to determine if the setting is enabled
simple extension function to plug in a setting as a dependency
convert the value to a boolean to determine if the setting is enabled