Is it possible to know if planning permission will be granted before a planning application is submitted?