Are ROS messages classes with slots?
I am trying to understand some python code dealing with ROS messages and I have a Subscriber Callback method where
def thecallback(self, msg):
# some code here involving a variable k
if(k in msg.__slots__):
#some other code
What does this mean?