Availability:built-in
get_attr(+Var,
+Module, -Value)Request the current value for the attribute named Module.
If
Var is not an attributed variable or the named attribute is
not associated to Var this predicate fails silently. If Module
is not an atom, a type error is raised.