code: def check_static_transitions(graph):
      msg = (
          "Step *{0.name}* is missing a self.next() transition to "
          "the next step. Add a self.next() as the last line in the "
          "function."
      )
      for node in graph:
          if node.type != "end" and not node.has_tail_next:
              raise LintWarn(msg.format(node), node.func_lineno)
  
imports: import re
  from .exception import MetaflowException
  from .util import all_equal
label_desc: Use image node_id 6 for calling a global function with example usage: check_static_transitions(graph) without return types