check for an existing collection in a 4.7-compatible way