def check_flat_bound_priors(parameters, names):
    is_flat = all(parameters[name]['prior'].prior_type == 'flat'
                  for name in names)
    is_bound = all(parameters[name]['prior'].is_bound()
                   for name in names)
    return is_flat, is_bound
Constructs a new ordered wrapper for an existing Container. Works even if
dataset/ETHPy150Open baudren/montepython_public/montepython/sampler.py/check_flat_bound_priors--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/data/util/container_ordered_wrapper.py/ContainerOrderedWrapper.__init__