renames to ifDefined()