Check if module is enabled before actions