Is "Ann had forgotten." true if "Ann asked Mary what time the library closes, because she had forgotten."?
yes