Change objIsSubset to be a named function