def is_dict_subset_of(sub_dict, super_dict):
    """Checks if sub_dict is contained in the super_dict.

    Arguments:
    sub_dict   -- A dictionary like mapping that supports iteritems method.
    super_dict -- A dictionary like mapping that supports iteritems method.

    Returns:
    True  -- If all the key-value pairs of sub_dict are present in the super_dict.
    False -- Otherwise.
    """
    sub_set = set(sub_dict.iteritems())
    super_set = set(super_dict.iteritems())
    return sub_set.issubset(super_set)