To be concise, we could just `return !$is_a_collection;`...