Conditional Filters for Custom Code Block

Yes, there is a code-based workaround.

Please check out this thread: