code: def _logged_in_successful(data):
          
          if re.match(r'^:(testserver\.local|tmi\.twitch\.tv)'
                      r' NOTICE \* :'
                      r'(Login unsuccessful|Error logging in)*$',
                      data.strip()):
              return False
          else:
              return True
docs: Test the login status from the returned communication of the
          server.
  
          :param data: bytes received from server during login
          :type data: list of bytes
  
          :return boolean, True when you are logged in.