Made a new command css_has_class that will safely check the class and get around stale elements