from pathlib import Path


def get_pdf_files(directory: Path) -> list:
    """Return list of all 'VypListek*.pdf' files in entered directory."""
    files = []
    directory = Path(directory)
    for item in directory.iterdir():
        if not item.is_file():
            continue

        if 'VypListek' in item.name and item.suffix == '.pdf':
            files.append(item)

    return files