@classmethod
def hasField(cls, fieldName):
    """returns True/False wether the collection has field K in it's schema. Use the dot notation for the nested fields: address.street"""
    path = fieldName.split('.')
    v = cls._fields
    for k in path:
        try:
            v = v[k]
        except KeyError:
            return False
    return True
