I have an Openlayers 6 map and I need to know if a specific layer is actually being displayed on the map.
Currently, layer.getVisible() is returning true but
layer.getVisible()