$("any-selector") never returns a null or undefined, even if that selector does not match any element on a given page.