input: Write a function to generate an array of random numbers in Python with a specified size. If the size is not provided or is less than or equal to 0, return an empty list.
  import numpy as np
  
  def generate_random_array(size=10):
      if size <= 0:
          return []
      random_array = np.random.randint(0, 100, size)
      return random_array
  
  assert list(generate_random_array(10)) == [any list of 10 random numbers between 0 and 100]
  assert list(generate_random_array(0)) == []
  assert list(generate_random_array(-5)) == []
  assert list(generate_random_array(1)) == [any single random number between 0 and 100]
output: def generate_random_array(size=10):
      if size <= 0:
          return []
      random_array = np.random.randint(0, 100, size)
      return random_array