_winxptheme.IsThemeActive

bool = IsThemeActive()

Can be used to test if a system theme is active for the current user session.
use the API _winxptheme::IsAppThemed to test if a theme is active for the calling process.