if ("stdin is not empty") Define - is stdin empty

how to do this?