Checks if code matches the attribute type.
DocumentJS.types.attribute.codeMatch(code) -> Boolean
{String}
{Boolean}
true if code matches an attribute
Checks if code matches the attribute type.