Refactor "True if condition else False"