Create a Python function to check if a given number is abundant or not. An abundant number is a number which is less than the sum of its proper divisors.
number = 24
def is_abundant(number):
    sum = 0
    for i in range(1, number):
        if number % i == 0:
            sum += i
    return sum > number