Check  !self.shellWindow.nil?