title: GreenRobot: EventBus's isRegistered() method not working as expected
body: <p>I am using <a href="http://greenrobot.org/eventbus/" rel="nofollow noreferrer">EventBus</a> for receiving the events. I want to check if my Activity is already registered or not as I need to register only once through the whole lifetime of the application, but the issue is that wheneven I come to that Activity which is registered EventBus registers it again and due to that multiple events are getting fired.</p>
  
  <p>Below is my code sample!</p>
  
  <pre><code>    public void registerEventBus(){
          if(EventBus.getDefault().isRegistered(this)){
              Log.e(TAG, "already registered event bus for "+TAG);
          }
          else{
              EventBus.getDefault().register(this);
              Log.e(TAG, "registering event bus for "+TAG);
          }
      }
  </code></pre>
  
  <p>Also, find the screenshot of logs, in which you can see that initially it gives me proper response but once I move to that Activity again it registers the subscriber again!</p>
  
  <p><strong>NOTE:</strong> Please don't suggest me to unregister as I want it to be registered always!</p>
  
  <p><a href="https://i.stack.imgur.com/OYv9b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OYv9b.png" alt="enter image description here"></a></p>
  
  <p>answered on github as well - <a href="https://github.com/greenrobot/EventBus/issues/355" rel="nofollow noreferrer">https://github.com/greenrobot/EventBus/issues/355</a></p>