Added has_bind().

This allows for checking to see if an event with the specified id is already bound. If so, true is returned, otherwise false.
Merge origin/master