Replace odd app_register_callback type check with simple check for whether a value was passed in.
Replace odd app_register_callback type check with simple check for whether a value was passed in.

kostyll/python-ssmi,praekelt/python-ssmi