'Returns the deepest level key (i.e. Ln) in the current hierarchy.
- used by gis_location_onvalidation()'

def get_max_hierarchy_level(self):

    location_hierarchy = self.get_location_hierarchy()
    return max(location_hierarchy)
