Determines whatever the declaration has the value.
true if the declaration has the specified value (or any value if value is null), false otherwise.
true
null
false
the value to check (optional).