Creates a bool from a Model. If unsucessful, will return false.
false
bool boolFromModel(Model model) => bool.parse(model.data["data"]?.toString() ?? "false");