Report question

Question: How do I test (in one line) if command output contains a certain string?