How to check if Entity has component? [solved]

I am making some modifications to Unity Physics and I am tagging special objects with specific components. How do I check if that component exists on an Entity or not?

Thanks.

Ah found it in docs: ComponentDataFromEntity.Exists