/* Check at least one bit of a given protect bitfield is set  */
bool lv_obj_is_protected(const lv_obj_t *obj, uint8_t prot)
/* Check at least one bit of a given protect bitfield is set  */
bool lv_obj_is_protected(const lv_obj_t *obj, uint8_t prot)
{
    return (obj->protect & prot) == 0 ? false : true ;
}