validator version 2.0.0

in new validator version 3.0.0, method "check" is absent