Implemented a simple existence test for the directive