code: def validate_layout_display(self, table, display_condition):
          
          display = False
          if display_condition is None:
              display = True
          else:
              display_query = 'select count(*) from {} where {}'.format(table, display_condition)
              try:
                  cur = self.db_conn.cursor()
                  cur.execute(display_query.replace('"', ''))
                  rows = cur.fetchall()
                  if rows[0][0] > 0:
                      display = True
              except sqlite3.Error as e:
                  print('"{}" query returned an error: ({}).'.format(display_query, e))
                  sys.exit(1)
          return display
docs: Check to see if the display condition passes.
  
          Args:
              table (str): The name of the DB table which hold the App data.
              display_condition (str): The "where" clause of the DB SQL statement.
  
          Returns:
              bool: True if the row count is greater than 0.