What game engine does lego use?

This is kind of a weird question, but I was wondering if anyone knew anything about the game engine used to create lego games. I know that most likely the engine is owned by TTGames and is not available to the public, but one can always hope...

Would there be any way to look at the code of one the lego games, and see which what is made?

Or is their an engine that could with ease make a game (obviously not a lego based on) that had similarities to those made by TTGames?