Returns true if the given internal ID is currently added to the group.
external bool hasLayer(double id);