Returns true if the list contains the given JID. If the JID
is not found explicitly, search the list for groups and look
for the JID in each of the corresponding groups.
Parameters:
o - The target, presumably a JID
Returns:
True if the target is in the list, or in any groups in the list