*: check type based methods are not None
should be same for cases where type based method is a python script, but is a bit more explicit/safe and consistent with other usages.
should be same for cases where type based method is a python script, but is a bit more explicit/safe and consistent with other usages.