def _GetList(a_list):
 if (a_list is None):
  return []
 else:
  return list(a_list)

def _GetList ( a_list ) : if ( a_list is None ) : return [ ] else : return list ( a_list )
utility function that converts none to the empty list .