https://github.com/php/php-src/pull/6489#issuecomment-739237321 We have `interfaces_exists` and `trait_exists`, do we need `enum_exists` to check whether a given class is an enum?