private function hasTty()
    {
        if (! $this->output instanceof StreamOutput) {
            return false;
        }

        if (getenv("PERIDOT_TTY")) {
            return true;
        }

        return $this->isTtyTerminal($this->output);
    }
private function hasTty()
    {
        if (! $this->output instanceof StreamOutput) {
            return false;
        }

        if (getenv("PERIDOT_TTY")) {
            return true;
        }

        return $this->isTtyTerminal($this->output);
    }
private function hasTty ( ) { if ( ! $ this -> output instanceof StreamOutput ) { return false ; } if ( getenv ( "PERIDOT_TTY" ) ) { return true ; } return $ this -> isTtyTerminal ( $ this -> output ) ; }
Determine if reporter is reporting to a tty terminal.

@return bool
Determine if reporter is reporting to a tty terminal .