code: public static boolean isTrueFromAttribute(AttributeSet attrs, String attribute, boolean defaultValue) {
          return attrs.getAttributeBooleanValue(Ui.androidStyleNameSpace, attribute, defaultValue);
      }
docs: 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