@classmethod
    def _is_fd_assigned(cls, fd):
        try:
            os.fstat(fd)
        except __HOLE__ as e:
            if e.errno == errno.EBADF:
                return False
            raise
        else:
            return True
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_multiprocessing.py/_TestConnection._is_fd_assigned