Model
Boolean
Magento\Customer\Model\Attribute\Data\Boolean
What it does
This class handles boolean-type customer attributes in Magento 2.
Developers use it when working with yes/no or true/false customer attributes, such as newsletter subscription status or opt-in preferences.
It extends the core EAV boolean attribute model to provide customer-specific boolean attribute handling.