code: public boolean isDisplayed(String other) {
          return (getDisplay() == null || getDisplay().compareTo("all") == 0 || getDisplay().indexOf(other) != -1);
      }
docs: Determine if this operation is visible in another.
  
  @param other The id of the other operation
  @return true if this operation is visible in the other