Check if parent plugin is activated based on a constant.