"The sun was covered by a thick cloud all morning, but luckily, by the time the picnic started, it was out." is a true sentence.

Does this mean that "The sun was out."?
yes