Fix usage example for 'check' method to be compatible with params

Fix usage example for 'check' method to be compatible with params