code: private boolean shouldSkipScan() {
          if (this.getExtension() == null) {
              return true;
          }
  
          List<ScriptWrapper> scripts = getActiveScripts();
          if (scripts.isEmpty()) {
              return true;
          }
  
          for (ScriptWrapper script : scripts) {
              if (script.isEnabled()) {
                  return false;
              }
          }
  
          return true;
      }
docs: Tells whether or not the scanner should be skipped. The scanner should be skipped when the {@code ExtensionScript} is not
  enabled, when there are no scripts, or if there are none is enabled.
  
  @return {@code true} if the scanner should be skipped, {@code false} otherwise