question: public static boolean isInJail ( final Player inmate ) { final StendhalRPZone zone = inmate . getZone ( ) ; if ( ( zone != null ) && zone . equals ( jailzone ) ) { for ( final Rectangle cellBlock : cellBlocks ) { if ( cellBlock . contains ( inmate . getX ( ) , inmate . getY ( ) ) ) { return true ; } } } return false ; }
target:  Is player in a jail cell? Ignores visitors outside of cells.