dependency status badge
Moved options validity check to separate function