code: def _check_contains_null(val):
      if isinstance(val, bytes):
          for byte in val:
              if isinstance(byte, bytes):
                  compare_to = chr(0)
              else:
                  compare_to = 0
              if byte == compare_to:
                  return True
      elif isinstance(val, str):
          return "\x00" in val
      return False
  
imports: from collections import defaultdict
  from contextlib import nullcontext
  from functools import reduce
  import inspect
  import json
  import os
  import re
  import operator
  import warnings
  import pyarrow
  from pyarrow._parquet import ParquetReader, Statistics, FileMetaData, RowGroupMetaData, ColumnChunkMetaData, ParquetSchema, ColumnSchema, ParquetLogicalType, FileEncryptionProperties, FileDecryptionProperties, SortingColumn
  from pyarrow.fs import LocalFileSystem, FileSystem, FileType, _resolve_filesystem_and_path, _ensure_filesystem
  from pyarrow import filesystem
  from pyarrow.util import guid, _is_path_like, _stringify_path, _deprecate_api
label_desc: Use image node_id 1 for calling a global function with example usage: _check_contains_null(val) and returns: False, unknown, True