@ Override public boolean canRun ( EventModel event ) { //noinspection SimplifiableIfStatement if ( event != null ) { return event . getListResourceContainer ( ) . providesResource ( getResourceIdWishList ( ) ) ; } return false ; }
Checks if the outputExtension can execute with the current event