Use python to check items in Reference Editor

Just wondering if it is possible to use python to find out whether if any of the references within the Reference Editor are not loaded/not checked?

I asked as I wanted to try writing some sort of validation to check the in-scene elements. And supposed if one the reference is not loaded, it will prompts a warning asking the artist to load it…

http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/CommandsPython/referenceQuery.html

[QUOTE=rgkovach123;26172]http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/CommandsPython/referenceQuery.html[/QUOTE]

Thanks! I did not saw this command when I am browsing through the docs…