Model
Boolean
Magento\Customer\Model\Attribute\Data\Boolean
What it does
This class handles boolean (yes/no, true/false) customer attributes in Magento 2.
It extends the core EAV Boolean data model to provide specific handling for customer-related boolean attributes like newsletter subscription status or account activation flags.
Developers use this when working with custom boolean customer attributes or validating boolean customer data.