getAttribute

fun getAttribute(name: String, required: Boolean): Int