def _check_surfaces(surfs):
 for surf in surfs:
  _assert_complete_surface(surf)
 for (surf_1, surf_2) in zip(surfs[:(-1)], surfs[1:]):
  logger.info(('Checking that %s surface is inside %s surface...' % (_surf_name[surf_2['id']], _surf_name[surf_1['id']])))
  _assert_inside(surf_2, surf_1)

def _check_surfaces ( surfs ) : for surf in surfs : _assert_complete_surface ( surf ) for ( surf_1 , surf_2 ) in zip ( surfs [ : ( - 1 ) ] , surfs [ 1 : ] ) : logger . info ( ( 'Checking that %s surface is inside %s surface...' % ( _surf_name [ surf_2 [ 'id' ] ] , _surf_name [ surf_1 [ 'id' ] ] ) ) ) _assert_inside ( surf_2 , surf_1 )
check that the surfaces are complete and non-intersecting .