'Get Property from dictionary `dict` starting with `prefix`.
Note: needs to be defined for Python 2.6'

def getProp(self, dict, prefix):

    for key in dict:
        if key.startswith(prefix):
            return dict[key]
    return None
