code: def test_func_string():
      def is_string():
          return isinstance("string", str)
  
      wrapped_func = create_function_from_source(getsource(is_string))
      assert is_string() == wrapped_func()
  
file_path: nipype/nipype/utils/tests/test_functions.py
imports: import pytest
  from nipype.utils.functions import getsource, create_function_from_source
label_desc: Use image node_id 5 for calling a global function with example usage: test_func_string() and returns: isinstance