How to tell if iTunes in the mini player mode from applescript Is there a way to tell if iTunes is in mini player mode from applescript?

Using Mac OS X 10.8.4 Mountain lion.
You can do something like that : 

tell application "System Events"
    tell process "iTunes"
        if title of window 1 is "MiniPlayer" then
            -- If mini player
        else if title of window 1 is not "MiniPlayer" then
            -- if big player 
        end if
    end tell
end tell