def _get_notifications_status(self, notifications):
if notifications:<EOL><INDENT>size = len(notifications["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>size = <NUM_LIT:0><EOL><DEDENT>status = self.status_notif if size > <NUM_LIT:0> else self.status_no_notif<EOL>return (size, status)<EOL>
Get the notifications status