I am using the getTemplateVariables method to get a list of variables. I can check if the variable starts with "BLOCK_" to know which ones are blocks but would like to know if the block has variables inside. I want to keep track of variables that are blocks that contain other variables and those that do not.
Is there a way to do this? Thanks.