only you can decide what constitutes 'lucidity' for yourself personally. although to me it sounds like you had some level of lucidity.

what happens before and after is of no bearing on whether you are lucid within a single moment.