pymel.util.arguments.listForNone

listForNone(res)

returns an empty list when the result is None