@classmethod
def CheckAreasWithDistrictZero(cls, postcode):
    impacted_by_rule = False
    if (postcode.outward_district == 0):
        areas_with_district_zero = cls.AreasWithDistrictZero
        impacted_by_rule = (not (postcode.outward_area in areas_with_district_zero))
    return impacted_by_rule
@classmethod
def CheckAreasWithDistrictZero(cls, postcode):
    impacted_by_rule = False
    if (postcode.outward_district == 0):
        areas_with_district_zero = cls.AreasWithDistrictZero
        impacted_by_rule = (not (postcode.outward_area in areas_with_district_zero))
    return impacted_by_rule