add selector-exists built-in
Merge pull request #1758 from qraynaud/is-defined

add selector-exists built-in