[Koha-bugs] [Bug 20496] New: Consolidate the checks to see if plugins are enabled in Koha::Plugin::new