Added ComponentConnector.isAttached (#11928)

Change-Id: I70d7d78a0d9de76080f6e0770a48504af8abdd84