Find a boolean attribute in the builder that has the type
attr_type, is of the correct boolean size, and is not invalid in the
If multiple attributes exist for the given attribute type, then the first\ one is returned.
the type of attribute to find
the location to place the found value
whether a valid boolean attribute was found