Returns true if S[0] is a source and S[1] is a sink and they both use the same method of passing data.
See Implementation
Returns true if S[0] is a source and S[1] is a sink and they both use the same method of passing data.