eomatch.finder.sat2sat.Sat2SatMUFinder.has_products

eomatch.finder.sat2sat.Sat2SatMUFinder.has_products#

Sat2SatMUFinder.has_products(product_array: Sized | None) → bool#

Return True if product_array is non-None and non-empty.

Shared by both Sat2SatMUFinder and Sat2InSituMUFinder.

Parameters:

product_array – array-like of products, e.g. a ProductItemSet or list, or None.

Returns:

True if at least one product is present.