(Variable color-themes is a list of your color themes. A given color theme is a function.)
You can use command color-theme-analyze-defun to check whether a function definition (defun) at point defines a color theme. It's defined in color-theme.el.
Here is its doc string:
Once you have a color-theme printed, check for missing faces.
This is used by ...