setStatus function checks if passed program_messages is defined.
setStatus function checks if passed program_messages is defined.

It is actually not a problem, because the function getProgramMessages will always return an entity but this check is simple enough, so I am adding it just for safety.

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son