Search for null and not null

In basic and advanced search is there a way to search for no value (basically a null value) and any value? For example, if no date is specified. And the opposite case if any date is specified.

Not out of the box.