class_docstr: Handler for logging to a set of files, which switches from one file to the
  next when the current file reaches a certain size. Multiple processes can
  write to the log file concurrently, but this may mean that the file will
  exceed the given size.
class_docstr_tok: ["Handler","for","logging","to","a","set","of","files",",","which","switches","from","one","file","to","the","next","when","the","current","file","reaches","a","certain","size",".","Multiple","processes","can","write","to","the","log","file","concurrently",",","but","this","may","mean","that","the","file","will","exceed","the","given","size","."]
code: def _shouldRollover(self):
      if self.maxBytes > 0:  # are we rolling over?
          try:
              self.stream.seek(
                  0, 2
              )  # due to non-posix-compliant Windows feature
          except OSError:
              return True
          if self.stream.tell() >= self.maxBytes:
              return True
          else:
              self._degrade(
                  False, "Rotation done or not needed at this time"
              )
      return False
  
file_path: nipype/nipype/external/cloghandler.py
imports: import os
  import sys
  from random import randint
  from logging import Handler
  from logging.handlers import BaseRotatingHandler
  from filelock import SoftFileLock
  import logging.handlers
label_desc: Use image node_id 11 for calling the ConcurrentRotatingFileHandler obj's underlying member method code with example usage: obj._shouldRollover() and returns: False, True, True