This line is spaced very strangely.  Advised spacing: `if (value != null && !((Item) value).isEnabled()) {`