def _is_sigsegv(self, return_code): """ Check return code against SIGSEGV """ if return_code == -signal.SIGSEGV: return True return False