implement contains of Chord