Returns true if a feature code control is enabled. @param feature The feature code control for which the value should be returned @return true if a feature code control is enabled; false otherwise
(String feature)
| 9814 | * @return true if a feature code control is enabled; false otherwise |
| 9815 | */ |
| 9816 | public boolean isFeatureEnabled(String feature) |
| 9817 | { |
| 9818 | Boolean object = controller.get(ObjectKey.getKeyFor(Boolean.class, |
| 9819 | "*" + Objects.requireNonNull(feature))); |
| 9820 | return (object != null) && object; |
| 9821 | } |
| 9822 | |
| 9823 | /** |
| 9824 | * Directly solves the given NEPFormula in context to this PlayerCharacter. |
no test coverage detected