If the kidneys are not functioning properly then a contrast CT scan can be very harmful and you might damage your kidneys leading it to dialysis.
To ensure that you don’t face any such situation your physician should to a creatinine level test. A minimum creatinine level must be checked before going for a contrast CT scan.
Some reference articles at Quora