public static <T> boolean containsElement(@Nullable Collection<T> collection,
        @Nullable T element) {
        if (collection != null && element != null) {
            return collection.contains(element);
        }
        return false;
    }
@Test
    void containsElement() {
        assertThat(PublicApiUtils.containsElement(null, null)).isFalse();
        assertThat(PublicApiUtils.containsElement(null, "test")).isFalse();
        assertThat(PublicApiUtils.containsElement(List.of("test"), null)).isFalse();
        assertThat(PublicApiUtils.containsElement(List.of("test"), "test")).isTrue();
        assertThat(PublicApiUtils.containsElement(List.of("test"), "test1")).isFalse();
    }