Check if aggreagate contains a member.
Returns true if aggregate contains a member and false in otherwise.