Small refactoring: inline CxxPlugin:isEnabled()