Additional check to avoid is_unit(parent_xblock) when possible.