Get the state of the given module
Module ID
Status variable of interest. If set it will return only the state of this variable
Get the state of the given module