Is `$invalid` declared? :bow: