fun hasSource(): Boolean
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;
Return Boolean: Whether the source field is set.