@SuppressWarnings("unused")
  @Deprecated
  public boolean containsColor(OperaColors... colors) {
    assertElementNotStale();

    Canvas canvas = buildCanvas();
    ScreenCaptureReply reply = exec.containsColor(canvas, 100L, colors);

    List<ColorResult> results = reply.getColorResults();

    for (ColorResult result : results) {
      if (result.getCount() > 0) {
        return true;
      }
    }

    return false;
  }
@ SuppressWarnings ( "unused" ) @ Deprecated public boolean containsColor ( OperaColors ... colors ) { assertElementNotStale ( ) ; Canvas canvas = buildCanvas ( ) ; ScreenCaptureReply reply = exec . containsColor ( canvas , 100L , colors ) ; List < ColorResult > results = reply . getColorResults ( ) ; for ( ColorResult result : results ) { if ( result . getCount ( ) > 0 ) { return true ; } } return false ; }
Check if the current page contains any of the given colors.  Used on tests that use red to show
a failure.

@param colors list of colors to check for
@return true if the page contains any of the given colors, false otherwise
@deprecated