This members-only tutorial provides the code to add a custom condition in Oxygen to ensure that element(s) to which the condition is applied to will only be output when the specified post type has at least one published post.
Use Case Example: You have a Section containing a "Testimonials" heading and a bunch of testimonial CPT entries using Easy Posts component below it. Now you want to ensure that this Section appears only when there is at least 1 published testimonial.
Simply add the code below as a Code Snippet and apply the condition.