Well, it is simple check, and it relies on the name provided by control file, but I think it is good enough