antare mumukṣu teṅho, vidyā-garvavān
sarva-citta-jñātā prabhu--sarvajña bhagavān
antare—within his heart; mumukṣu—desiring liberation; teṅho—he; vidyā-garvavān—very proud of his learning; sarva-citta-jñātā—one who knows the heart of everyone; prabhu—Śrī Caitanya Mahāprabhu; sarva-jña bhagavān—the omniscient Supreme Personality of Godhead.
Within his heart, Rāmadāsa Viśvāsa was an impersonalist who desired to merge into the existence of the Lord, and he was very proud of his learning. Being the omniscient Supreme Personality of Godhead, Śrī Caitanya Mahāprabhu can understand the heart of everyone, and thus He knew all these things.
Link to this page: https://prabhupadabooks.com/cc/antya/13/110