Yes, that would be safer.  Now changed it to inspect the response body, as suggested.  Also moved the check into real_name, since some things call that directly.