check if bytes is valid for this key.
static bool isValidBytes(List<int> keyBytes) { try { SchnorrkelSecretKey.fromBytes(keyBytes); return true; } catch (e) { return false; } }