Add method to determine whether a connection represents a given source.