Visibility logic in divider

Could there be an option to apply visibility logic to a Divider?

@bjxmotors, can you help me understand your use case?