add isSingleObjective function