ProductVariantInventoryPolicy

Two questions:

1)is there a query call to get the productVariantInventoryPolicy?

  1. if the inventory policy is deny and stock reaches 0. will the availableForSale be false automatically or the user has to set it ?