code: def _check_args(values, summaries, values2, summaries2):
      if values is None:
          values = {}
      if values2 is None:
          values2 = {}
      if summaries is None:
          summaries = {}
      if summaries2 is None:
          summaries2 = {}
  
      for s, v in (summaries, values), (summaries2, values2):
          ky = set(v.keys()) & set(s.keys())
          ky = list(ky)
          if len(ky) > 0:
              raise ValueError(
                  "One or more variable names are contained in both `summaries` and `values`:"
                  + ", ".join(ky)
              )
  
      return values, summaries, values2, summaries2
  
file_path: statsmodels/statsmodels/sandbox/predict_functional.py
imports: import pandas
  import patsy
  import numpy
  import warnings
  from statsmodels.tools.sm_exceptions import ValueWarning
  from statsmodels.compat.pandas import Appender
label_desc: Use image node_id 4 for calling a global function with example usage: _check_args(values, summaries, values2, summaries2) and returns: values,  summaries,  values2,  summaries2