How can I test whether the output from a command is null or empty string?

Published --