if data.class_name is undefined trying to access its length property will throw a fatal. If the goal is to avoid that, then you want to just do `&& data.class_name`