Allow `key in hdf5file` syntax in python

Merged Amir MOHAMMADI requested to merge in into master

Merge request reports