Must use 'project.hasProperty()' instead of plain 'hasProperty()'