Added mailimap_has_id().