Add hasSolution computed attribute.