code: def _check_smart_concatenate(
      arrays, should_be_broadcast=False, check_strides=True
  ):
      result = smart_array_concatenate(arrays)
      np.testing.assert_array_equal(result, np.concatenate(arrays))
  
      if check_strides:
          if should_be_broadcast:
              assert result.strides[0] == 0
          else:
              assert result.strides[0] > 0
  
      return result
  
file_path: stellargraph/tests/core/test_utils.py
imports: import pytest
  import numpy
  from stellargraph.core.utils import *
  from ..test_utils import flaky_xfail_mark
  from ..test_utils.graphs import example_graph_random
label_desc: Use image node_id 7 for calling a global function with example usage: _check_smart_concatenate(arrays, should_be_broadcast, check_strides) and returns: result