How does the sentence end?

James was looking if there is any space to put the book into the shelf. The
book is big.