Checks if the enum exists
function enum_exists( string $class_name, bool $autoload = true, ): bool;
string $class_name
bool $autoload = true
bool