Type guard: checks if a definition is a Resource that carries config via .with().
.with()
Any value to test.
True when definition is a branded ResourceWithConfig.
definition
Type guard: checks if a definition is a Resource that carries config via
.with().