Use newly introduced parent_xblock parameter to is_unit to make create_xblock_info clearer.