{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/766","labels_url":"https://api.github.com/repos/realm/realm-java/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/766/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/766/events","html_url":"https://github.com/realm/realm-java/issues/766","id":54812417,"number":766,"title":"Realm.isEmpty() method","user":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-19T21:07:22Z","updated_at":"2015-01-20T09:57:22Z","closed_at":null,"body":"Feature request from this thread: https://groups.google.com/forum/#!topic/realm-java/u2DUhFbgMAc\r\n\r\nAdd a ```realm.isEmpty()``` method that returns true if there is no objects in the Realm. It is just a utility method, but fits nicely with the Realm object store abstraction."},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/70629710","html_url":"https://github.com/realm/realm-java/issues/766#issuecomment-70629710","issue_url":"https://api.github.com/repos/realm/realm-java/issues/766","id":70629710,"user":{"login":"bmunkholm","id":1215687,"avatar_url":"https://avatars.githubusercontent.com/u/1215687?v=3","gravatar_id":"","url":"https://api.github.com/users/bmunkholm","html_url":"https://github.com/bmunkholm","followers_url":"https://api.github.com/users/bmunkholm/followers","following_url":"https://api.github.com/users/bmunkholm/following{/other_user}","gists_url":"https://api.github.com/users/bmunkholm/gists{/gist_id}","starred_url":"https://api.github.com/users/bmunkholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmunkholm/subscriptions","organizations_url":"https://api.github.com/users/bmunkholm/orgs","repos_url":"https://api.github.com/users/bmunkholm/repos","events_url":"https://api.github.com/users/bmunkholm/events{/privacy}","received_events_url":"https://api.github.com/users/bmunkholm/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T09:57:22Z","updated_at":"2015-01-20T09:57:22Z","body":"I'm not convince this will be useful to many. Most of the time you would know which models you want to check? We should only add very useful or needed features to keep the API lean. So unless people really +1 this feature, I would close it."}}