How to tell if there is a FlexModule installed on an XG or XGS VIA GUI or CLI

Hi, 

Is there anyway to tell if a Flexi Module is installed besides looking at it physically ? 



Edited TAGs
[edited by: emmosophos at 4:39 PM (GMT -7) on 20 Sep 2023]