Adding isVisible method (#60)