code: def removeImageExtension(input, allExtensions):
      return isImage(input, allExtensions)[1]
  
imports: import sys
  import glob
label_desc: Use image node_id 3 for calling a global function with example usage: removeImageExtension(input, allExtensions) and returns: isImage