How to check if Entity variable is empty in IComponentData?

I have tried:

Entity == null
Entity.index == 0

entity == Entity.Null