This doesn't really explain what it's checking, but if you're looking for an actual checker for your HTTPS configuration, Qualys SSLLabs maintains an open source client [0] that could easily be scripted to do this exact thing.
Shameless plug, it's my side project, started because monitoring beats point in time checks.