But let me tell you that everyone in the room thinking that about you is very tiring.
In any room, there are forms of intelligence that you can learn from.
Intellectual humility is a form of intelligence, and it may be the most important one.
It's not really possible. If 2 people are in a room and 1 is a physics expert and the other is chemistry. Who is essentially "smarter?"
What if 1 person is a psychology expert and the other is a motorcycle maintenance expert? How about US army firearm ballistics expert and fine art expert?
Essentially the 'judgement' on who is smarter is far too subjective. Instead, you should work towards always proving you're not the smartest person in the room. Talk to people to find out things that you dont know about and perhaps you are Einstein in your field, there's always someone who knows a great deal about other subjects.