@sh.add_function(dsp, outputs=['has_motor_p2_planetary'])
def identify_has_motor_p2(motor_p2_planetary_maximum_power):
"""
Identify if the vehicle has a planetary motor P2 [kW].
:param motor_p2_planetary_maximum_power:
Maximum power of planetary motor P2 [kW].
:type motor_p2_planetary_maximum_power: float
:return:
Has the vehicle a motor in planetary P2?
:rtype: bool
"""
from .p4 import identify_has_motor_p4 as func
return func(motor_p2_planetary_maximum_power)