params: Remove extra `if`
`kwargs` is always a dict, so it's still safe to prove individual
elements in there.
@@ -115,7 +115,6 @@ class NLIParams(Parameters):
class SimParams(Parameters):
def __init__(self, **kwargs):
- if kwargs:
if 'nli_parameters' in kwargs:
self._nli_params = NLIParams(**kwargs['nli_parameters'])
else:
