function isInvalid = is_invalid_gui_obj_handle(obj)
    isInvalid = isempty(obj) || obj == 0 || ~ishandle(obj);
end