If your book constantly motivates you to work on it and unbiased 3rd parties think it’s captivating, you may have a publishable book. If you keep getting standard form rejections from publishers, this is a good sign it’s not ready to publish.