code: def is_python_file(filename):
      return filename.endswith(".py")
  
imports: from __future__ import absolute_import, print_function, division
  import difflib
  import operator
  import os
  import string
  from subprocess import Popen, PIPE
  import sys
  import tabnanny
  import tokenize
  import reindent
  from six import StringIO
label_desc: Use image node_id 10 for calling a global function with example usage: is_python_file(filename) and returns: filename