title: How to check if CONTENT is not empty in TypoScript?
body: <p>I create a CONTENT object in a following way,</p>
  
  <pre><code>   MIDCONTENT = CONTENT
     MIDCONTENT{
         table = tt_content
         select.orderBy = sorting
         select.where = colPos = 0  
     }
  </code></pre>
  
  <p>further i have a TEXT Object, which should get the value test, if MIDCONTENT is not empty</p>
  
  <pre><code>   BOTTOMONTENT= TEXT
     BOTTOMONTENT{
         value=test
         if{
            //check here
           }
     }
  </code></pre>
  
  <p>How can i check, if MIDCONTENT, which is a CONTENT object,  is not empty?</p>