public static boolean isTrueFromAttribute(AttributeSet attrs, String attribute, boolean defaultValue) {
        return attrs.getAttributeBooleanValue(Ui.androidStyleNameSpace, attribute, defaultValue);
    }
Get the attribute have enabled value
Form android styles namespace

@param attrs        AttributeSet
@param attribute    The attribute to retrieve
@param defaultValue What to return if the attribute isn't found
@return Resulting value
caprice/ui/src/main/java/net/qiujuer/genius/ui/Ui.java