Zend certified PHP/Magento developer

How does magento checks if the customer attribute is required on admin customer form edit

I have 2 websites, A is required, B is not required, by default scope is required.
(Already set as that on customer attribute)

I have a customer attribute for some reason is giving me required, but for his website scope shouldn’t be required. (on the admin customer form edit)

If someone knows where is checked that validation and put ” _required” on the class, probably will help me out.

the required class I'm talking about