Added function for checking if the state space of a reinforcement learning problem is discrete
See EMAM2Middleware#34