buildfix - implemented newly added isValid() method