def vtk_old():
 global _vtk_version
 if (_vtk_version is None):
  raise RuntimeException(u'VTK is not correctly installed.')
 return (_vtk_version[0] < 6)

def vtk_old ( ) : global _vtk_version if ( _vtk_version is None ) : raise RuntimeException ( u'VTK is not correctly installed.' ) return ( _vtk_version [ 0 ] < 6 )
checks if vtk uses the old-style pipeline .