I'm making a function that takes one integer and returns a boolean that says if the integer matches a number in a certain group of numbers. This group consists of single numbers aswell as ranges spanning thousands of numbers. I'm looking for an elegant way to write this function. Thanks in advance! Gustaf