Detection of Flawed Mesh or Element in INP File

Is there a way to detect the presence of a flawed mesh or element within an INP file? If yes, which command should I use to verify the correctness of the INP file? Any suggestions regarding this matter would be helpful.

Thanks in advance,

You can use *NO ANALYSIS to run an input deck check. Regarding the mesh, if there are elements with negative jacobians, they will be detected too. Apart from that, you could check some mesh quality measures but outside of CalculiX: Mesh Quality Check