A simple helper to get round the problem of checking returned collections.