message_ix_models.model.transport.util.has_input_commodity

message_ix_models.model.transport.util.has_input_commodity(technology: Code, commodity: str) bool[source]

Return True if technology has an ‘input’ annotation with commodity.

filter() helper for sequences of technology codes.