Return true if the specified setting is enabled. If the setting does not exist, -1 is returned. (Same as the %class function). This function is not restricted to class names or trigger names. It can be used to determine the enabled/disabled state of any named setting.