Hello Team,
Well, using the Empty expression is always always better than the NULL.
Let me show you how to achieve this, it is fairly simple.
Step 1 - Create a COMPOSE action and load it with your Value

Step 2 - Condition to Check whether the COMPOSE action is null/empty (in short has some data or not)
The Expression that you need to use is as below-
empty(outputs('Compose')) is equal to True

Now the condition checks if the Compose action (that is currently holding your dynamic content) is having some data or is Empty/Null.
If it is Empty it will give out True, if not it will give out False.
See output below-

This is always simple to execute using the Empty expression, never try to implement NULL, it is not a good idea and does not always give valid results, whereas with Empty results will always be spot on.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!