code: def _vars(ftype, name, *dims):
      
      shape = _dims2shape(*dims)
      objs = list()
      for indices in itertools.product(*[range(i, j) for i, j in shape]):
          objs.append(_VAR[ftype](name, indices))
      return farray(objs, shape, ftype)
docs: Return a new farray filled with Boolean variables.