java.util.Iterator<org.neo4j.kernel.api.properties.DefinedProperty> to boolean