public static boolean tryIntercept(@NotNull Object uiComponent, @Nullable RelativePoint relativePoint) {
    UiInterceptor<?> interceptor = ourInterceptors.poll();
    if (interceptor != null) {
      interceptor.intercept(uiComponent);
      return true;
    }

    for (PersistentUiInterceptor<?> persistentUiInterceptor : persistentInterceptors) {
      if (persistentUiInterceptor.isApplicable(uiComponent, relativePoint)) {
        persistentUiInterceptor.intercept(uiComponent, relativePoint);
        return true;
      }
    }
    return false;
  }
public static boolean tryIntercept(@NotNull Object uiComponent, @Nullable RelativePoint relativePoint)