BPP-10655 Detector for checkState and checkArgument

Signed-off-by: Piotr Findeisen <piotr.findeisen@syncron.com>