def baseline_grid_consistent_with_prevents(baseline_grid, element, at_root=False):
	""" Checks whether the baseline grid is not prevented by the locks an on element """
	if "prevents" in element and "baseline_grid" in element["prevents"]: 
		bg_value = element["prevented_values"]["baseline_grid"]
		if baseline_grid in bg_value: 
			return False
	return True