/** * Determine if the item is above on of the drawers. * * @param item the item to check * @return <b>true</b> if the item is above on of the drawers and <b>false</b> otherwise * @see Drawer#isItemAbove(Zone) */ public static boolean isItemAboveDrawer(MoveableItem item) { if (leftDrawer != null && leftDrawer.isItemAbove(item)) return true; else if (rightDrawer != null && rightDrawer.isItemAbove(item)) return true; else if (topDrawer != null && topDrawer.isItemAbove(item)) return true; else return false; }