@classmethod
def CheckAreasWithOnlyDoubleDigitDistricts(cls, postcode):
    impacted_by_rule = False
    if (postcode.outward_district <= 9):
        double_digit_districts = cls.AreasWithOnlyDoubleDigitDistricts
        impacted_by_rule = (postcode.outward_area in double_digit_districts)
    return impacted_by_rule
@classmethod
def CheckAreasWithOnlyDoubleDigitDistricts(cls, postcode):
    impacted_by_rule = False
    if (postcode.outward_district <= 9):
        double_digit_districts = cls.AreasWithOnlyDoubleDigitDistricts
        impacted_by_rule = (postcode.outward_area in double_digit_districts)
    return impacted_by_rule