1. It depends on where you are inserting this line of code in the
application. The contextData variable may be a field of another object
(s or p). The developers should recognize whether they need it or not.2.
Yes, I used 'login_status' in my example to be consistent with the
String used in the setObject call from Objective-C. In actual
implementation it is likely that it is a value of current login status,
for this particular example.