Implements the AppliesTo(IMethodInvocation) method in anonymous behaviors.
public delegate bool AppliesToHandler(IMethodInvocation invocation);