There's probably no science to this, but people are having fun with it. The newest TikTok trend is to test your cat's intelligence by holding them up to a wall.
Some cats put their legs out to stop themselves. Others just let their owners smoosh their face right into the wall without doing anything. If your cat puts its legs out, smart. If not, dumb.
I have a feeling my cat would fail, but I'll have to try when I get home.