import pathlib


def is_nonempty_dir(indir: pathlib.Path) -> bool:
    """ Look for a non-empty directory

    :param Path indir:
        The directory to test
    :returns:
        True, if the directory exists and contains at least one file or directory
    """
    if indir.is_dir():
        if [p for p in indir.iterdir() if not p.name.startswith('.')]:
            return True
    return False