Check FTIndex via script

Does anybody know a way to check via LS if a database has FTIndex of Attachments enabled?