ESDEV-2156 Create metadata validator

module should be valid if has no files