Bool get flag state method?

if i want to toggle visibility of object to make it blink on screen i need to make bool variable and check everytime if it true or false and so on.

i think lvgl needs
bool lv_obj_get_flag(lv_obj_t* object,enum flag)
so if i want to check if flag is set or not i can just read it.

You can use lv_obj_has_flag().