public static boolean isValidMACAddress(final String macAddress) {
        return macAddress != null && PATTERN_MAC.matcher(macAddress).matches();
    }
Validates a provided MAC address

@param macAddress - the MAC address to check
@return - true if it is valid MAC address in IEEE802 format (either hyphen or colon separated)
eg: "01:23:45:67:89:AB" or "01-23-45-67-89-AB"
library/src/main/java/com/stealthcopter/networktools/MACTools.java