93👍
✅
It seemed you’ve made it the correct way: import setting object and check.
And you can try to use:
if hasattr(settings, 'ANOTHER_VARIABLE'):
instead of:
if settings.is_defined('ANOTHER_VARIABLE'):
I found the documentation, hope this might help.
Source:stackexchange.com