Implement a lazy_all function (OMS-339)

Required by oms-339 branch in KNOT.