I don’t understand why you need to return a string rather than a boolean here. Would you explain?

*If* you really have to, you probably should use `framed`|`not-framed` or `frame`|`no-frame`. Please check that with a native English speaker. ;-)