Add #isEmpty() docs to the API reference