Modified check goal to check a single target passed as a dict, list or a tuple.