title: Check item contains in model object array in swift 3
body: <p>I have a model object called user.
   how to find my user.id from all users collection.
  I need something like this <code>UsersCollection.contains(user.id)
  </code> and returns Bool value.</p>