if not ('token' in cmd or
                ('eauth' in cmd and 'password' in cmd and 'username' in cmd)):