```if isinstance(region, basestring) and not region.isdigit():```