It isn't necessarily definitive, but the python script kindledrm also works on modern MOBI ebooks. It tells you if the ebook is DRM-free by looking at a 2-byte integer in the header that indicates the presence of DRM. See
Kindle Books From Amazon Without DRM. It will return NOT MOBI for old-style mobipocket PRC files though.