How To Check If An Element Exists In The Visible Dom Javascript

How To Check If An Element Exists In The Visible Dom Javascript