input: Write a function to generate a 4-digit random number.
  assert 1000 <= generate_4_digit_random_number() <= 9999
  assert isinstance(generate_4_digit_random_number(), int)
output: import random
  
  def generate_4_digit_random_number():
      return random.randint(1000, 9999)