'check if mac is mac type'

@staticmethod
def check_is_mac(value):

    checked = compile('(\n                                    ^([0-9A-F]{2}[-]){5}([0-9A-F]{2})$\n                                |^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$\n                                )', (VERBOSE | IGNORECASE))
    if (checked.match(value) is None):
        return False
    else:
        return True
