It can be recognized if the LiveView is not sticky by checking that a socket of LiveView has parent_pid.
But if it is sticky, I can’t find a way to recognize whether the LiveView is a child LiveView or not.
I checked nested_render/3 function in Phoenix.LiveView.Static.