ITKElastix
ITKElastix copied to clipboard
"HasKey" or similar method for the wrapped ParameterObject
For pythonic way of checking if a key is in a list/dict like
if 'InitialTransformParametersFileName' in parameterObject:
it would be helpful to have a "HasKey" or similar method for the wrapped ParameterObject.
We can do this by defining __contains__
.