()
return _state.isstdin()
Returns true if the last line was read from sys.stdin,
    otherwise returns false.
Returns true if the last line was read from sys.stdin,
    otherwise returns false.
Returns true if the last line was read from sys . stdin otherwise returns false .
def isstdin():
    """
    Returns true if the last line was read from sys.stdin,
    otherwise returns false.
    """
    if not _state:
        raise RuntimeError("no active input()")
    return _state.isstdin()
def isstdin ( ) : if not _state : raise RuntimeError ( "no active input()" ) return _state . isstdin ( )