code: def test_is_not_workspace_file(self):
      assert not cellprofiler_core.utilities.core.workspace.is_workspace_file(
          __file__
      )
      for group in TOP_LEVEL_GROUP_NAME, FILE_LIST_GROUP:
          path = self.make_workspace_file()
          h5file = h5py.File(path, "r+")
          del h5file[group]
          h5file.close()
          assert not cellprofiler_core.utilities.core.workspace.is_workspace_file(
              path
          )
  
file_path: CellProfiler/tests/core/workspace/test_workspace.py
imports: import logging
  import os
  import tempfile
  import h5py
  import cellprofiler_core.measurement
  import cellprofiler_core.pipeline
  import cellprofiler_core.utilities.core.workspace
  import cellprofiler_core.workspace
  from cellprofiler_core.utilities.hdf5_dict import FILE_LIST_GROUP, TOP_LEVEL_GROUP_NAME
label_desc: Use image node_id 5 for calling the TestWorkspace obj's underlying member method code with example usage: obj.test_is_not_workspace_file() without return types