Optimize implementation. It first check of the contextNode objects
present in the memory and return values from it.If not, then it will
check in zephyr cloudstore.