def check_if_directory_has_files(dirPath):
    """
    Returns True if there is any files or folders in the argument given.

    Otherwise, it will return False.

    Requires one argument to be defined:
    - A pathlib Path object
    """
    hasFiles = any(dirPath.iterdir())
    return hasFiles