def is_zero_depth_field(name):
    """
    Checks if a field name has one dot in it.
    For example, BuildingCode.Value
    """
    if name.find('.') != -1 and name.find('.') == name.rfind('.'):
        return True
    return False