LuaCommandable::is_script_driven should say that only groups created with LuaSurface::create_unit_group are considered script driven.
Without proper explanation, the meaning of script driven is confusing, see here viewtopic.php?t=127784
LuaCommandable::is_script_driven
Re: LuaCommandable::is_script_driven
Thanks for the report, added for the next release.