def is_valid_row(row):
    """check if a row is valid for transformation"""
    if not row["PID"]:
        return False
    if not row["document type"]:
        return False
    if not row["URL"]:
        return False
    return True