Get node bundle (content type) from EntityInterface
I did manage to find it after all $entity-&gt;bundle() it was pretty easy ...

 if ($entity-&gt;getEntityType()-&gt;id() == 'node' &amp;&amp; $entity-&gt;bundle() == 'article') {