Checks if the address corresponds to one of the special ranges.