@classmethod<EOL><INDENT>def pass_from_pipe(cls):<DEDENT>
is_pipe = not sys.stdin.isatty()<EOL>return is_pipe and cls.strip_last_newline(sys.stdin.read())<EOL>
Return password from pipe if not on TTY, else False.