fixed supports("true ") evaluating to false

Added trim() before converting the key (String -> boolean) to avoid
converting true to false silently