So you are type rated with an ATPL and you are asking this question
If you don't know the answer to this I expect you have a long way to go before you have an ATPL so I would not worry about it but yes if you are typed with an ATPL and stay current on that type your instrument rating stays current.