lv_obj_has_style_prop() function
Check if an object has a specified style property for a given style selector.
Arguments
selector
the style selector to be checked, defining the scope of the style to be examined.
prop
the property to be checked.
Return value
true if the object has the specified selector and property, false otherwise.