Not necessarily. Topsoil is not as useful as compost. Compost can provide more nutrients and moisture. Using it, you will get better results. Therefore, the presence of a top layer is not necessary to obtain a good result.