public boolean isHidden(final String topicName) {
    return hiddenTopicsPattern.matcher(topicName).matches();
  }
@Test
  public void shouldReturnTrueOnAllHiddenTopics() {
    // Given
    final List<String> topicNames = ImmutableList.of(
        ReservedInternalTopics.KSQL_INTERNAL_TOPIC_PREFIX + "_test",
        "prefix_", "_suffix", "prefix_topic", "topic_suffix", "literal"
    );

    topicNames.forEach(topic -> {
      // When
      final boolean isHidden = internalTopics.isHidden(topic);

      // Then
      assertThat("Should return true on hidden topic: " + topic,
          isHidden, is(true));
    });
  }