def setup_blocks_complete(request):
 for module in get_modules():
  if (len([block for block in module.get_help_blocks(request=request, kind='setup') if (not block.done)]) > 0):
   return False
 return True

def setup_blocks_complete ( request ) : for module in get_modules ( ) : if ( len ( [ block for block in module . get_help_blocks ( request = request , kind = 'setup' ) if ( not block . done ) ] ) > 0 ) : return False return True
check if any incomplete setup blocks remain .