Courts review state government’s defense regarding lottery