Add `consumeInstalledProgram()` to verify apf program install

add 2 helper methods,
- consumeInstalledProgram(ipClientCb)
- consumeInstalledProgram(ipClientCb, installCnt)

first verify it at least one apf program install,
second verify specific apf program install count.

Test: atest NetworkStackTests
Change-Id: I6a7ab600e7b3559417dc74de896eff22de31c1d3
1 file changed