code: def testInactiveSecs(self):
      flags = FakeFlags(
          logdir="logdir",
          reload_multifile=True,
          reload_multifile_inactive_secs=10,
      )
      filter_fn = data_ingester._get_event_file_active_filter(flags)
      with mock.patch.object(time, "time") as mock_time:
          mock_time.return_value = 100
          self.assertFalse(filter_fn(0))
          self.assertFalse(filter_fn(time.time() - 11))
          self.assertTrue(filter_fn(time.time() - 10))
          self.assertTrue(filter_fn(time.time()))
          self.assertTrue(filter_fn(float("inf")))
  
imports: import ntpath
  import os
  import posixpath
  import time
  from unittest import mock
  from tensorboard import test
  from tensorboard.backend.event_processing import data_ingester
  from tensorboard.compat import tf
label_desc: Use image node_id 4 for calling the GetEventFileActiveFilterTest obj's underlying member method code with example usage: obj.testInactiveSecs() without return types