ServerScriptService.LoadStringEnabled is toggle-able in studio but cannot be read by scripts except through the command bar and plugins. As @brokenVectors sugggested you can see if it is enabled by testing whether calling the function will throw an error.
If you need to execute code when loadstring is disabled you can use a VM instead.
Edit: Reading the LoadStringEnabled property doesn’t work for plugins or the command bar either.