def command_preflight_check(self):
checks_pass, failures = self.environment.perform_preflight_check()<EOL>if checks_pass:<EOL><INDENT>print('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>sys.stderr.write('<STR_LIT>')<EOL>for msg in failures:<EOL><INDENT>sys.stderr.write('<STR_LIT>' % msg)<EOL><DEDENT>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>
Detects whether we have everything needed to mount sshfs filesystems.