It is always a good thing to make sure that you keep yourself away from abusive people at workplace or people who try to act smart. You may need to have your own reservations when it comes to interacting with such kind of people and this is what I recommend people to do.
People will always reveal to you their true nature of themselves and their personality whenever they are angry and pissed. Take this opportunity to study and learn everything about them. When you're done, it's going to be very easy to show you whom to likely be friends with.