code: def _check_error(tree):
      if not isinstance(tree, ast.Module):
          raise QuerySyntaxError("top level should be of ast.Module")
      if len(tree.body) != 1:
          raise QuerySyntaxError("too many expressions")
  
imports: import ast
  import datetime
  from typing import Any, Dict
  import numpy
  from numba import cuda
  import cudf
  from cudf.core.buffer import acquire_spill_lock
  from cudf.core.column import column_empty
  from cudf.utils import applyutils
  from cudf.utils._numba import _CUDFNumbaConfig
  from cudf.utils.dtypes import BOOL_TYPES, DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES
label_desc: Use image node_id 3 for calling a global function with example usage: _check_error(tree) without return types