Swift: check for attribute existence in NSXMLNode extension