private boolean isExternalFormatterInUse() {
    return !(FormattingServiceUtil.findService(myFile, true, myOptions.getTextRangeType() == TextRangeType.WHOLE_FILE)
               instanceof CoreFormattingService);
  }
private boolean isExternalFormatterInUse()