original_string: private function hasSttyAvailable(): bool
      {
          if (null !== self::$stty) {
              return self::$stty;
          }
  
          exec('stty 2>&1', $output, $exitcode);
  
          return self::$stty = 0 === $exitcode;
      }
code: private function hasSttyAvailable(): bool
      {
          if (null !== self::$stty) {
              return self::$stty;
          }
  
          exec('stty 2>&1', $output, $exitcode);
  
          return self::$stty = 0 === $exitcode;
      }
code_tokens: private function hasSttyAvailable ( ) : bool { if ( null !== self :: $ stty ) { return self :: $ stty ; } exec ( 'stty 2>&1' , $ output , $ exitcode ) ; return self :: $ stty = 0 === $ exitcode ; }
docstring: Returns whether Stty is available or not.
docstring_tokens: Returns whether Stty is available or not .