? true : false seem redundant here...