class Session::AbstractSession

def ready?

def ready?
  (stdin and stdout and stderr) and
  (IO === stdin and IO === stdout and IO === stderr) and
  (not (stdin.closed? or stdout.closed? or stderr.closed?))
end