@sh.add_function(dsp, outputs=['on_engine'])
def identify_on_engine(hybrid_modes):
"""
Identifies if the engine is on [-].
:param hybrid_modes:
Hybrid mode status (0: EV, 1: Parallel, 2: Serial).
:type hybrid_modes: numpy.array
:return:
If the engine is on [-].
:rtype: numpy.array
"""
return hybrid_modes.astype(bool)