input: Write a function to solve a quadratic equation in Python. The function should accept three parameters (a, b, c) which correspond to the coefficients of the quadratic equation \(ax^2 + bx + c = 0\). The function should return a dictionary containing a status key which is True if the equation has real roots and False otherwise, and a roots key which is a list of the real roots of the equation. If the equation has no real roots, the roots list should be empty. 
  
  assert solveQuadratic(1, 3, -4)=={'status': True, 'roots': [-4.0, 1.0]}
  assert solveQuadratic(1, -3, 0)=={'status': True, 'roots': [3.0, 0.0]}
  assert solveQuadratic(1, 0, 1)=={'status': False, 'roots': []}
  assert solveQuadratic(1, 0, -9)=={'status': True, 'roots': [3.0, -3.0]}
  assert solveQuadratic(2, 4, 2)=={'status': True, 'roots': [-1.0]}
output: def solveQuadratic(a, b, c):
      discriminant = b**2 - 4*a*c
      if discriminant < 0:
          return {'status': False, 'roots': []}
      else:
          root1 = (-b + discriminant**0.5) / (2*a)
          root2 = (-b - discriminant**0.5) / (2*a)
          return {'status': True, 'roots': [root1, root2]}