code: def _nested_na_replace(struct_scalar):
      """
      Replace `cudf.NA` with `None` in the dict
      """
      for key, value in struct_scalar.items():
          if value is cudf.NA:
              struct_scalar[key] = None
      return struct_scalar
  
imports: import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.core.dtypes import StructDtype
  from cudf.testing._utils import DATETIME_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 20 for calling a global function with example usage: _nested_na_replace(struct_scalar) and returns: struct_scalar