It's [been suggested](https://github.com/phpmyadmin/sql-parser/pull/245#pullrequestreview-234555279) by @staabm that we could use "`is_a()` so we would not need to create a object just to check for its class". This seems like a good idea to me.