code: def _is_non_empty_collection(value):
      return isinstance(value, Collection) and len(value) > 0
  
imports: from collections.abc import Collection
  from datetime import datetime
  from functools import partial, reduce
  from operator import eq, is_
  import numpy
  from satpy.writers.utils import flatten_dict
label_desc: Use image node_id 22 for calling a global function with example usage: _is_non_empty_collection(value) and returns: unknown