Issue #2281109: Porting 'Entity is of bundle (entity_is_of_bundle)' condition to 8.x. Cleaning up code, removing unnecessary comments, etc.