def _dir_is_empty(path):
    if "empty" in sudo('[ "$(ls -A {0})" ] || echo "empty"'.format(path)):
        return True
    return False
Return ``True`` is ``path`` directory has no files or folders in it.
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/galaxy/utils.py/_dir_is_empty