Query the value of an SOS attribute.
Arguments:
attr: The attribute being queried.
Return value:
The current value of the requested attribute.