but I see the callback getting called with the layer object or false ?