input: Write a function that takes in the coefficients of a quadratic equation ax^2 + bx + c = 0 and returns a dictionary with a status indicating if real roots exist and a list of the roots if they do. If no real roots exist, the list should be empty. The function should import the math module to use the sqrt function to calculate the roots.
  
  assert solveQuadratic(1, 3, -4) == {'status': True, 'roots': [-4.0, 1.0]}
  assert solveQuadratic(5, 2, 5) == {'status': False, 'roots': []}
  assert solveQuadratic(1, 4, 4) == {'status': True, 'roots': [-2.0]}
  assert solveQuadratic(1, -3, 2) == {'status': True, 'roots': [2.0, 1.0]}
  assert solveQuadratic(1, 0, 1) == {'status': False, 'roots': []}
output: import math
  
  def solveQuadratic(a, b, c):
      discriminant = b**2 - 4*a*c
      if discriminant < 0:
          return {'status': False, 'roots': []}
      elif discriminant == 0:
          root = -b / (2*a)
          return {'status': True, 'roots': [root]}
      else:
          root1 = (-b + math.sqrt(discriminant)) / (2*a)
          root2 = (-b - math.sqrt(discriminant)) / (2*a)
          return {'status': True, 'roots': [root1, root2]}