code: def check_type(self):
          
          self.isdiscrete = {}
          for stochastic in self.stochastics:
              if stochastic.dtype in integer_dtypes:
                  self.isdiscrete[stochastic] = True
              elif stochastic.dtype in bool_dtypes:
                  raise ValueError(
                      'Binary stochastics not supported by AdaptativeMetropolis.')
              else:
                  self.isdiscrete[stochastic] = False
docs: Make sure each stochastic has a correct type, and identify discrete stochastics.