The check method has replaced the old validate method.