Check if the script is provided with stdin