dot-calculateNotApplicableStatus function

Determines if check should be notApplicable and the notApplicableReason