code: def get_return_stmts(code):
      return list(parse(code).children[0].iter_return_stmts())
  
imports: from textwrap import dedent
  import pytest
  from parso import parse
  from parso.python import tree
  from parso.tree import search_ancestor
label_desc: Use image node_id 7 for calling a global function with example usage: get_return_stmts(code) and returns: list