code: def key(author):
      author = list(author.split())
      if len(author) > 0:
          return author[-1]
  
imports: from subprocess import check_output
  import sys
  import string
  import shlex
label_desc: Use image node_id 2 for calling a global function with example usage: key(author) and returns: author