def _assert_coord(boards, coordinate_types):
    """
	Used Internally.
	
	Assert that the coordinates are for a Cartesian space (or that the set of
	boards is empty).
	"""
    assert len(boards) == 0 or isinstance(boards[0][1], coordinate_types)
