Added .is() utility function.