Validation: Explicit check for InvocationContext incorrectly used in bean callbacks