code: public static ConfigurableConnection of(Connection connection) {
      Assert.isTrue(connection instanceof ConfigurableConnection, "The connection {} was not created by Lyra", connection);
      return (ConfigurableConnection) connection;
    }
docs: Returns the {@code connection} as a {@link ConfigurableConnection}.
  
  @throws IllegalArgumentException if {@code connection} was not created by Lyra