Determine if 4K textures are supported at runtime

I understand that only newer devices support 4k textures. But I would like to know if there is a way to determine at runtime whether they are supported.


You cannot install iOS11 on iPhone 2.Maybe get iOS version and check if it’s greater than minimum version that supports 4K?
P.S.Never coded for iPhone.