bool hexHasPrefix(String value) { return isHex(value, ignoreLength: true) && value.substring(0, 2) == '0x'; }