Use empty() to check if extension is enabled
Merge pull request #3767 from Wikia/VE-1130

VE-1130 Optimize checking of blog namespaces within VisualEditor
Merge branch 'VE-1025' into VE-1145