There's no automatic way to detect this — but you can track it yourself using a custom field.
Companies House doesn't provide any data that would let Inform Direct tell you whether a client files their own confirmation statement (CS01) directly with Companies House, rather than through Inform Direct — so this isn't something the software can identify automatically.
Some firms handle this by adding a custom Yes/No field — for example "Self-files CS01?" — against each company, and displaying it on the Portfolio screen. You then update it manually for each client based on your own records.
See How Do I Add New Custom Fields? for how to set this up, and How do I customise the Portfolio Screen? to show the new field in your Portfolio view.