Checking if we really need to output something