def suggest(self, history, searchspace):
        # Convert searchspace to param_grid
        if self.param_grid not in None:
            if not all(isinstance(v, EnumVariable) for v in searchspace):
                raise RuntimeError("GridSearchStrategy is defined only for all-enum search space")

            self.param_grid = ParameterGrid(dict((v.name, v.choices) for v in searchspace))

        # NOTE: there is no way of signaling end of parameters to be searched against
        # so user should pick correctly number of evaluations
        self.current += 1
        return self.param_grid[self.current % len(self.param_grid)]
dataset/ETHPy150Open msmbuilder/osprey/osprey/strategies.py/GridSearch.suggest/operator `is` -> `not in`