def get_surface_area(structure):
	if 'attaches_to' in structure:
		return structure['size']*len(structure['attaches_to'])
	
	return structure['size']
dataset/ETHPy150Open flags/Reactor-3/numbers.py/get_surface_area/original