WARNING: The following article contains spoilers from "Eternal Knight Part II" from Justice League #65, on sale now from DC Comics.

Batman is known for being prepared for any situation. It's how he keeps up with heroes like Superman and Wonder Woman. However, in Ram V., Sumit Kumar, Romulo Fajardo Jr., and Rob Leigh's "Eternal Knight Part II" from Justice League #65, Batman's level of preparedness reaches the next level when he produces tech straight out of the film Inception.

When he and Elnara Roshtu discovered Randhir Singh trapped within his own mind, Batman deduced that Elnara was capable of freeing the part of Randhir that was still his own. To do that though, Elnara would have to go into the dream world itself and battle through layers of Randhir's mind to reach him. It's very similar to the premise of Inception, only in this case, they are extracting someone from a dream instead of implanting something into said dream.

When Elnara and Batman found Randhir, he was hooked up to a strange machine that was projecting multiple dream worlds that had been created by his mind. Upon further examination, Batman uncovered that Randhir, a powerful psychic, had been trapped within his own mind because each of the dreams being projected were occurring simultaneously. Randhir was literally unable to wake up because multiple instances of him were fighting for control over his subconscious mind.

RELATED: Justice League's New Villain Has a Surprising Connection to Superman

Fortunately, Elnara had a link to some part of Randhir that was still able to interact with the real world. Batman explained it was a part of him that Randhir protected to be able to differentiate between dreams and reality. But the fact that he was in contact with Elnara even now meant the two shared a connection, making Elnara uniquely suited to hook herself up to the machine and go into Randhir's dreams to save him.

The setup is similar to how Dom Cobb goes into dreams in Inception, using advanced technology to access the mind of another. In Randhir's case, the dreams were a result of Merlin fracturing his mind so he was too occupied to fight back. But Elnara's subsequent mission to free him worked very much in the same vein as Dom's.

Elnara had to fight through layers of different dreams in order to reach the desired aspect of Randhir's mind that was calling out to her. She then had to fight her way back through the remaining dreams to give the incapacitated psychic a chance to escape on his own. And all of this was made possible because Batman had the tech on hand to connect two human minds.

RELATED: Justice League: How Two Fights Almost Broke Booster Gold

This is a classic instance of Batman being prepared for any situation. The Dark Knight has managed to keep up with the powerful members of the Justice League by having skills in a variety of fields. Science is the one that takes the forefront most of the time, specifically forensic tech and gadgetry. But, as he just demonstrated, the Caped Crusader also has some skill in the area of magic.

Batman is no sorcerer, that much is clear, but he's been exposed to enough magic to know that going up against it with just his grapnel and batarangs isn't going to cut it. He's oftentimes shown the initiative to acquire magical items that give him an edge against mystical foes. In this case, his scientific skills were more useful than his magical ones, although he still needed some knowledge of the arcane to make things work. Odds are strong that Batman wouldn't have been able to do what he does here if he didn't have some kind of experience with magic.

KEEP READING: A DC Superhero Has Wanted to Ask Superman A Question for 40 Years