use :exists instead of deprecated .exists

In advance of upcoming star release, trying to avoid any current deprecation notices.