Type guard to check if a value is an IConnection.
The value to check.
True if the value is an IConnection, false otherwise.
Type guard to check if a value is an IConnection.