@classmethod
def CheckAreasWithOnlySingleDigitDistricts(cls, postcode):
    impacted_by_rule = False
    if (postcode.outward_district >= 10):
        single_digit_districts = cls.AreasWithOnlySingleDigitDistricts
        impacted_by_rule = (postcode.outward_area in single_digit_districts)
    return impacted_by_rule
@classmethod
def CheckAreasWithOnlySingleDigitDistricts(cls, postcode):
    impacted_by_rule = False
    if (postcode.outward_district >= 10):
        single_digit_districts = cls.AreasWithOnlySingleDigitDistricts
        impacted_by_rule = (postcode.outward_area in single_digit_districts)
    return impacted_by_rule