input: Write a function to generate a histogram using the given list of data in Python. The function should plot the data using specified bins and display the histogram with appropriate labels and title. If the input data is empty, the function should return without plotting anything.
  assert generate_histogram([3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150], [0, 20, 40, 60, 80, 100, 120, 140, 160])==None
  assert generate_histogram([], [0, 20, 40, 60, 80, 100, 120, 140, 160])==None
output: def generate_histogram(data, bins):
      if not data:
          return
      plt.hist(data, bins=bins, edgecolor='black')
      plt.xlabel('Value')
      plt.ylabel('Frequency')
      plt.title('Histogram of Data')
      plt.show()