private boolean hasImages(IAction actionToCheck){
  return actionToCheck.getImageDescriptor() != null || actionToCheck.getHoverImageDescriptor() != null || actionToCheck.getDisabledImageDescriptor() != null;
}

private boolean hasImages ( IAction actionToCheck ) { return actionToCheck . getImageDescriptor ( ) != null || actionToCheck . getHoverImageDescriptor ( ) != null || actionToCheck . getDisabledImageDescriptor ( ) != null ; }
returns whether the given action has any images .
