Added isAttachableDetached() method