input: Write a function to generate a histogram using the provided data in Python. The function should take a list of integers as input and plot a histogram with specified bin ranges. If the input list is empty, the function should return None without plotting.
  assert generate_histogram([3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150])==None
  assert generate_histogram([])==None
output: def generate_histogram(data):
      if not data:
          return None
      import matplotlib.pyplot as plt
      plt.hist(data, bins=[0, 25, 50, 75, 100, 125, 150])
      plt.show()