import { CheckListData, CheckListItem } from "../ui/steps/CheckListWidget";

export const useCheckListStatus = (checkList: CheckListData | undefined) => {
	return (
		!checkList?.items ||
		checkList.items.length === 0 ||
		checkList.items.every((item: CheckListItem) => item.isChecked)
	);
};
