Does getProducts check for active/inactive stores while fetching products?

platformClient.application("<APPLICATION_ID>").catalog.getAppProducts

We have switched off showing out of stock products in swadesh prod.
Does the above API responds with list of products only that are available ?
Or will it return the products which have inventory but the inventory is in in-active store also?