Lets reuse the hasLiferayRuntime object from the project.core plugin.