Or modify the definition of `is_attached`