def __getitem__(self, name):
        ''' check contents dictionary to allow dict like access to service layers'''
        if name in self.__getattribute__('contents').keys():
            return self.__getattribute__('contents')[name]
        else:
            raise KeyError(name % "No content named %s")
dataset/ETHPy150Open geopython/OWSLib/owslib/coverage/wcs110.py/WebCoverageService_1_1_0.__getitem__/swapped operands of `%`