def contains(self, x):
    return ((len(x) == self.num_discrete_space) and (np.array(x) >= self.low).all() and (np.array(x) <= self.high).all())
def contains(self, x):
    return ((len(x) == self.num_discrete_space) and (np.array(x) >= self.low).all() and (np.array(x) <= self.high).all())