Goodfellas (stylized as GoodFellas) is a 1990 American crime film directed by Martin Scorsese. It is an adaptation of the 1986 non-fiction book "Wiseguy" by Nicholas Pileggi, who co-wrote the screenplay with Scorsese. The film narrates the rise and fall of mob associate Henry Hill and his friends over a period from 1955 to 1980.

Can we draw the following conclusion?
wiseguy was written by Nicholas Pileggi who also co-wrote the film

OPTIONS:
1). Yes.
2). It's impossible to say.
3). No.