<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_orig_items(data):
 """Retrieve original items in a batch, handling CWL and standard cases. """

    if isinstance(data, dict):
        if dd.get_align_bam(data) and tz.get_in(["metadata", "batch"], data) and "group_orig" in data:
            return vmulti.get_orig_items(data)
        else:
            return [data]
    else:
        return data