The doc I linked doesn’t specifically mention the condition “setting”.
It appears the “setting” condition in
if setting ~/config/settings/LaunchBox/main_settings autostart
decodes the flattened BMessage ~/config/settings/LaunchBox/main_settings and checks if there’s a field named “autostart” and sees if it’s true or false.