I think "valid" is a confusing name. Shouldn't it be "active"?