docstr: Return True if the indicated frame suggests a setup.py file.
docstr_tok: ["Return","True","if","the","indicated","frame","suggests","a","setup.py","file","."]
code: def frame_file_is_setup(frame):
      """
      Return True if the indicated frame suggests a setup.py file.
      """
      # some frames may not have __file__ (#2940)
      return frame.f_globals.get("__file__", "").endswith("setup.py")
  
imports: import sys
  import os
label_desc: Use image node_id 6 for calling the DistutilsMetaFinder obj's underlying member method code with example usage: obj.frame_file_is_setup(frame) and returns: frame