[Christopher-Rex] Added a visibility checker to check visibility of an element and return a boolean