executeShellCommandAndFind
open fun executeShellCommandAndFind(@NonNull cmd: @NonNull String, @NonNull find: @NonNull TestUtils.Predicate<String>): Boolean(source)
Executes the given shell command and returns true if any line matches the find predicate, or false otherwise.
Requires API 21+ due to UiAutomation.executeShellCommand() dependency.