@staticmethod
def __sanity_check(name, path, level):
    """Verify arguments are "sane"."""
    if not isinstance(name, str):
        raise TypeError('configuration name must be str, not {}'.format(
            type(name)))
    if level < 0:
        raise ValueError('level must be >= 0')
    if level > 0:
        if not isinstance(path, str):
            raise TypeError('path not set to a string')
        elif not path:
            raise ImportError('attempted relative import with no known path')
    if level > 2:
        raise ValueError('Invalid Path: level must be <= 2')
    if not name and level == 0:
        raise ValueError('Empty configuration name')
