How to check if tablet mode is active?

Ah wasn’t available of that property thanks i’ll try it out.