I think rules as written you either know it or you don't. I think Dalzig's solution is fine (the person is trying hard to remember and takes a small amount of time) but the RAW is you either immediately remember or you don't know.

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.