Adding the IsTrue validation attribute for a boolean property.