[PATCH 1/3] ntdll: Factor out object_is_finished().