code: def assert_blank_before(name, member, doc, keywords):
      doc_lines = [x.strip() for x in doc.split("\n")]
      for keyword in keywords:
          if keyword in doc_lines:
              index = doc_lines.index(keyword)
              if doc_lines[index - 1] != "":
                  raise ValueError(
                      "{} '{}' should have a blank line above.".format(
                          member, keyword
                      ),
                      member.__module__,
                  )
  
file_path: baal/tests/documentation_test.py
imports: import importlib
  import inspect
  import re
  import sys
  from itertools import compress
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: assert_blank_before(name, member, doc, keywords) without return types