code: def configure_input_data(obj, data):
      """
      Configure the input data for vtk pipeline object obj.
      Copied from latest version of mayavi
      """
      if vtk_old():
          obj.input = data
      else:
          obj.set_input_data(data)
  
file_path: nipype/nipype/interfaces/vtkbase.py
imports: import os
  from ..None import logging
label_desc: Use image node_id 5 for calling a global function with example usage: configure_input_data(obj, data) without return types