Using the Python API to find out the texture type of any given texture file?

If I select any given texture file in the content browser, is there any python script that I can run that would tell me if this is a normal map, roughness map, lighting map etc?