@staticmethod
def nested_in(dict, keys, key_delimiter='.'):
    """ Determines in the nested key sequence `keys` is in the dictionary `dict`

        Args:
            dict (:obj:`dict`): dictionary to retrieve value from
            keys (:obj:`str` or :obj:`list`): list of nested keys to retrieve
            key_delimiter (:obj:`str`, optional): delimiter for `keys`

        Returns:
            :obj:`bool`: Whether or not the nested key sequence `keys` is in the dictionary `dict`
        """
    if isinstance(keys, str):
        keys = keys.split(key_delimiter)
    nested_dict = dict
    for key in keys:
        if key not in nested_dict:
            return False
        nested_dict = nested_dict[key]
    return True
