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')

        Return True if the indicated frame suggests a setup.py file.
        
product/gradle-plugin/src/main/python/_distutils_hack/__init__.py