Returns the status of a database API event toggle.
string $eventName: The name of the event to check.
bool TRUE if the event is going to be fired by the database API, FALSE otherwise.
public function isEventEnabled(string $eventName) : bool { return $this->enabledEvents[$eventName] ?? FALSE; }