I found an interesting problem on https://www.codewars.com/kata/5886faac54a7111c21000072:
# Task
 A media access control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment.

 The standard (IEEE 802) format for printing MAC-48 addresses in human-friendly form is six groups of two hexadecimal digits (0 to 9 or A to F), separated by hyphens (e.g. 01-23-45-67-89-AB).

# Example

 For `inputString = "00-1B-63-84-45-E6"`, the output should be `true`;
 
 For `inputString = "Z1-1B-63-84-45-E6"`, the output should be `false`;
 
 For `inputString = "not a MAC-48 address"`, the output should be `false`.
 
# Input/Output

 - `[input]` string `inputString`
 
 - `[output]` a boolean value

    `true` if inputString corresponds to MAC-48 address naming rules, `false` otherwise.

I tried it in Python, but could not do it. Can you solve it?
is_mac_48_address = lambda address: bool( __import__("re").match('-'.join(['[0-9A-F]{2}']*6) + '$', address) )