def is_uniform_join_units(join_units):
return (<EOL>all(type(ju.block) is type(join_units[<NUM_LIT:0>].block) for ju in join_units) and  <EOL>all(not ju.is_na or ju.block.is_extension for ju in join_units) and<EOL>all(not ju.indexers for ju in join_units) and<EOL>all(ju.block.ndim <= <NUM_LIT:2> for ju in join_units) and<EOL>len(join_units) > <NUM_LIT:1>)<EOL>
Check if the join units consist of blocks of uniform type that can
be concatenated using Block.concat_same_type instead of the generic
concatenate_join_units (which uses `_concat._concat_compat`).