input: Write a function to solve a quadratic equation in Python. The function should take three parameters: the coefficients a, b, and c of the quadratic equation ax^2 + bx + c = 0. The function should return a dictionary containing a status key indicating whether the roots are real (True) or complex (False), and a roots key containing a list of the roots if they are real, or an empty list if they are complex.
  assert solveQuadratic(1, 3, -4) == {'status': True, 'roots': [-4.0, 1.0]}
  assert solveQuadratic(1, 2, 1) == {'status': True, 'roots': [-1.0]}
  assert solveQuadratic(1, 0, 1) == {'status': False, 'roots': []}
output: def solveQuadratic(a, b, c):
      discriminant = b**2 - 4*a*c
      if discriminant >= 0:
          root1 = (-b + discriminant**0.5) / (2*a)
          root2 = (-b - discriminant**0.5) / (2*a)
          roots = [root1, root2] if root1 != root2 else [root1]
          return {'status': True, 'roots': roots}
      else:
          return {'status': False, 'roots': []}