`if not composite_id` may be easier to understand.