Let $S_{g,2}$ be the orientable genus-$g$ surface with two boundary components, and let C be a simple-closed curve in $S_{g,2}$.
If C is homologically non-trivial (i.e., C does not bound a surface), and C intersects one of the boundary components, must C also intersect the other boundary component, i.e., can a non-trivial curve on $S_{g,2}$ intersect only one of the boundary components?
Edit: The question I am trying to answer is whether Dehn twists about the boundary curves are in the Torelli group, i.e., if these twists (twists in opposite directions in each boundary component) induce the identity map on homology.