def is_valid_pid(value: str) -> bool:
    """
    Return if value is a valid pid (passport id).

    Parameter
    ---------
    value: str
        a pid.

    Return
    ------
    bool
        True if pid is valid, False othewise.
    """
    return len(value) == 9 and all((char.isdigit()) for char in value)