Returns true if the map's keySet contains the given JID. If the JID
is not found explicitly, search the keySet for groups and look
for the JID in each of the corresponding groups.
Parameters:
key - The target, presumably a JID
Returns:
True if the target is in the key list, or in any groups in the key list
Returns true if the map has a key referencing the given JID. If the JID
is not found explicitly, search the values for groups and look
for the JID in each of the corresponding groups.
Parameters:
value - The target, presumably a JID
Returns:
True if the target is in the key list, or in any groups in the key list