def __mac(value):
 return (salt.utils.validate.net.mac(value), value, 'MAC address')

def __mac ( value ) : return ( salt . utils . validate . net . mac ( value ) , value , 'MAC address' )
validate a mac address .