checks function

Optional checks to consistency of metadata