Server disconnect

https://github.com/sandeepmistry/bleno/issues/19 how to disconnect client

disconnect by server: user can force disconnect of client
accept event: user receive accept event to make some actions on it. e.g:
timeout to disconnect client

I was trying to figure out how to know if device is already in LE advertising mode with no luck.
Is there any flag to show this status?