Rename method is.detached to is_detached