def close(self):
        """Close self._file if open and not if not sys.stdout"""
        if self._file and not self._file.closed:
            if ['<stdout>', '<stderr>'] not  in self._file.name: # don't close sys.stdout
                try:
                    self._file.close()
                except (AttributeError):
                    pass

        self._file = None
dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/consoling.py/Console.close/swapped operands of `not in`