Check if leader

Returns whether the server is the current leader.