'returns whether we care about a frame on the user-level when debugging
Cython code'

@default_selected_gdb_frame()
def is_relevant_function(self, frame):

    name = frame.name()
    older_frame = frame.older()
    if (self.is_cython_function(frame) or self.is_python_function(frame)):
        return True
    elif (older_frame and self.is_cython_function(older_frame)):
        cython_func = self.get_cython_function(older_frame)
        return (name in cython_func.step_into_functions)
    return False
