[galaxy-commits] commit/galaxy-central: guerler: ToolForm: Adjust optional state detection