How to use python to determine whether the .uasset file is a Material Instance or a Blueprint Class

How to use python to determine whether the .uasset file is a Material Instance or a Blueprint Class