How to get attribute “HasAlphaChannel” in Texture2D class using python?

How to get attribute “HasAlphaChannel” in Texture2D class using python? I can not find the function in python api.
https://docs.unrealengine.com/en-US/PythonAPI/class/Texture2D.html?highlight=texture2d#unreal.Texture2D