| py_has_attr {reticulate} | R Documentation |
Check whether a Python object x has an attribute
name.
py_has_attr(x, name)
x |
A python object. |
name |
The attribute to be accessed. |
TRUE if the object has the attribute name, and
FALSE otherwise.