Checks the result of `addon.isEnabled()` if it exists, defaults to `true` otherwise. @private @method _addonEnabled @param {Addon} addon @return {Boolean}
(addon)
| 393 | @return {Boolean} |
| 394 | */ |
| 395 | _addonEnabled(addon) { |
| 396 | return !addon.isEnabled || addon.isEnabled(); |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | @private |
no test coverage detected