Recode of isEventSupported, remove unnecessary code and tests