code: def _packbits_nested_list_padding(arr, pad_length):
      if arr.ndim > 1:
          nested_list = []
          for sub_arr in arr:
              nested_list.append(
                  _packbits_nested_list_padding(sub_arr, pad_length)
              )
          return nested_list
      else:
          return arr.zero_pad(pad_width=[[0, pad_length]])
  
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs
  from ivy.utils.exceptions import IvyNotImplementedException
  from ivy.func_wrapper import with_unsupported_dtypes
label_desc: Use image node_id 1 for calling a global function with example usage: _packbits_nested_list_padding(arr, pad_length) and returns: nested_list, arr