added isTruthy method