def METHOD_NAME(m, k, t):
    if m.get('@property') == k:
        if m.get("@xsi:type") != t:
            warn('found property "%s", but it was not of xsi:type "%s"' % (k, t))
            return None
        return m.get('$')
    return None