connected?(spec_name)
public

Returns true if a connection that’s accessible to this class has already been opened.