def _check_smart_storage_message(self):
        """Check for smart storage message.

        :returns: result, raid_message
        """
        ssc_mesg = self.smart_storage_config_message
        result = True
        raid_message = ""
        for element in ssc_mesg:
            if "Success" not in element['MessageId']:
                result = False
                raid_message = element['MessageId']
        return result, raid_message
def _check_smart_storage_message ( self ) : ssc_mesg = self . smart_storage_config_message result = True raid_message = "" for element in ssc_mesg : if "Success" not in element [ 'MessageId' ] : result = False raid_message = element [ 'MessageId' ] return result , raid_message
Check for smart storage message.

        :returns: result, raid_message