code: def assert_args_presence(args, doc, member, name):
      if len(args) == 0:
          return
      args_not_in_doc = [arg not in doc for arg in args]
      if any(args_not_in_doc):
          raise ValueError(
              "{} {} arguments are not present in documentation ".format(
                  name, list(compress(args, args_not_in_doc))
              ),
              member.__module__,
          )
      words = doc.replace("*", "").split()
  
      # Check arguments order
      words = [w.rstrip(":") for w in words[words.index("Args:") :]]
      indexes = [words.index(arg) for arg in args]
      if indexes != sorted(indexes):
          raise ValueError(
              "{} arguments order is different from the documentation".format(
                  name
              ),
              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 9 for calling a global function with example usage: assert_args_presence(args, doc, member, name) without return types