Use ansible's buildin check mechanism to check parameters.