code: public static boolean getEnforcedBooleanCondition(String input, boolean enforcedBoolean) {
          return (enforcedBoolean) ? isTrueOrFalse(input) == Boolean.parseBoolean(input) : Boolean.parseBoolean(input);
      }
docs: If enforcedBoolean is "true" and string input is: null, empty, many empty chars, TrUe, tRuE... but not "false"
  then returns "true".
  If enforcedBoolean is "false" and string input is: null, empty, many empty chars, FaLsE, fAlSe... but not "true"
  then returns "false"
  This behavior is needed for inputs like: "imageNoReboot" when we want them to be set to "true" disregarding the
  value provided (null, empty, many empty chars, TrUe, tRuE) except the case when is "false"
  
  @param input           String to be evaluated.
  @param enforcedBoolean Enforcement boolean.
  @return A boolean according with above description.