```'S_IS_CATEGORY'		=> ($entity->get_right_id() - $entity->get_left_id() > 1) ? true: false,```
Do this and you don't need all the $is_category stuff above