question: public boolean contains ( final Entity entity ) { if ( entity == null ) { return false ; } final IRPZone entityZone = entity . getZone ( ) ; return zone . equals ( entityZone ) && zone . has ( entity . getID ( ) ) && shape . contains ( entity . getX ( ) , entity . getY ( ) ) ; }
target:  Checks whether an entity is in this area (e. g. on this zone and inside of the shape)