#NEWLINE# def get_power_state( self , task ) : #NEWLINE# #INDENT# 'Get the power state from the node.\n\n        :param task: a TaskManager instance containing the target node.\n        :raises: MSFTOCSClientApiException.\n        ' #NEWLINE# ( client , blade_id ) = msftocs_common . get_client_info ( client . node . driver_info ) #NEWLINE# return POWER_STATES_MAP [ client . get_blade_state ( blade_id ) ]